Sha256: 650b6f0de97a22104364e3aa93b9abb28012a894382e60337d1a258bcec44037

Contents?: true

Size: 694 Bytes

Versions: 2

Compression:

Stored size: 694 Bytes

Contents

######################################################################
#                          BUNDLER DEFAULTS                          #
######################################################################
Capistrano::Configuration.instance(:must_exist).load do
  extend ChickenSoup

  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

2 entries across 2 versions & 1 rubygems

Version Path
chicken_soup-0.6.1 lib/chicken_soup/capabilities/bundler/bundler-defaults.rb
chicken_soup-0.6.0 lib/chicken_soup/capabilities/bundler/bundler-defaults.rb