Sha256: 65284369bbb9eea6f9402db80e0c5fd30c220f8ccbc8a5ccd70ce51f041d61bc

Contents?: true

Size: 678 Bytes

Versions: 10

Compression:

Stored size: 678 Bytes

Contents

 Bundler
# Manages gems in a sane way.
# http://gembundler.com/
Capistrano::Configuration.instance(:must_exist).load do
  namespace :bundler do
    set :bundler_ver, '1.0.0'
    desc "Installs bundler gem to your server"
    task :setup, :roles => :app do
      run "if ! gem list | grep --silent -e 'bundler.*#{bundler_ver}'; then #{try_sudo} gem uninstall bundler; #{try_sudo} gem install --no-rdoc --no-ri bundler; fi"
    end
    
    # [internal] runs bundle install on the app server
    task :install, :roles => :app, :except => { :no_release => true } do
      run "cd #{current_path} && bundle install --deployment --without=development test"
    end
  end  
    
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
dark-capistrano-recipes-0.6.16 lib/recipes/bundler.rb
dark-capistrano-recipes-0.6.15 lib/recipes/bundler.rb
dark-capistrano-recipes-0.6.14.0 lib/recipes/bundler.rb
dark-capistrano-recipes-0.6.12.0 lib/recipes/bundler.rb
dark-capistrano-recipes-0.6.10 lib/recipes/bundler.rb
dark-capistrano-recipes-0.6.9 lib/recipes/bundler.rb
dark-capistrano-recipes-0.6.8 lib/recipes/bundler.rb
dark-capistrano-recipes-0.6.6 lib/recipes/bundler.rb
dark-capistrano-recipes-0.6.5 lib/recipes/bundler.rb
dark-capistrano-recipes-0.6.4 lib/recipes/bundler.rb