Sha256: 855f03b3ed39a4130ffb446d73b44b1d93fe69e8878c6c164f1a9358bc87a208

Contents?: true

Size: 672 Bytes

Versions: 9

Compression:

Stored size: 672 Bytes

Contents

######################################################################
#                          BUNDLER DEFAULTS                          #
######################################################################
Capistrano::Configuration.instance(:must_exist).load do
  namespace :capabilities do
    namespace :defaults do
      desc "[internal] Sets intelligent defaults for Bundler deployments."
      task :bundler do
        _cset :gem_packager_version,  `gem list bundler`.match(/\((.*)\)/)[1]
        _cset :gem_packager_gem_path, "#{shared_path}/bundle"

        set   :rake,                  "RAILS_ENV=#{rails_env} bundle exec rake"
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
chicken_soup-0.9.0 lib/chicken_soup/capabilities/bundler/bundler-defaults.rb
chicken_soup-0.8.6 lib/chicken_soup/capabilities/bundler/bundler-defaults.rb
chicken_soup-0.8.5 lib/chicken_soup/capabilities/bundler/bundler-defaults.rb
chicken_soup-0.8.4 lib/chicken_soup/capabilities/bundler/bundler-defaults.rb
chicken_soup-0.8.1 lib/chicken_soup/capabilities/bundler/bundler-defaults.rb
chicken_soup-0.8.0 lib/chicken_soup/capabilities/bundler/bundler-defaults.rb
chicken_soup-0.5.3 lib/chicken_soup/capabilities/bundler/bundler-defaults.rb
chicken_soup-0.5.2 lib/chicken_soup/capabilities/bundler/bundler-defaults.rb
chicken_soup-0.5.0 lib/chicken_soup/capabilities/bundler/bundler-defaults.rb