Sha256: f6fed9e65d8a8f4a63b24cce8e9c7b347ea36d1c0e76fb0249afe6dce9f68a71

Contents?: true

Size: 600 Bytes

Versions: 13

Compression:

Stored size: 600 Bytes

Contents

Capistrano::Configuration.instance.load do
  namespace :bundler do
    desc "|capistrano-recipes| Installs bundler gem to your server"
    task :setup, :roles => :app do
      run "if ! gem list | grep --silent -e 'bundler'; then #{try_sudo} gem uninstall bundler; #{try_sudo} gem install --no-rdoc --no-ri bundler; fi"
    end
    
    desc "|capistrano-recipes| Runs bundle install on the app server (internal task)"
    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

13 entries across 13 versions & 2 rubygems

Version Path
dark-capistrano-recipes-0.8.4 lib/recipes/bundler.rb
dark-capistrano-recipes-0.8.3 lib/recipes/bundler.rb
dark-capistrano-recipes-0.8.2 lib/recipes/bundler.rb
ricodigo-capistrano-recipes-0.1.8 lib/recipes/bundler.rb
dark-capistrano-recipes-0.8.1 lib/recipes/bundler.rb
ricodigo-capistrano-recipes-0.1.7 lib/recipes/bundler.rb
ricodigo-capistrano-recipes-0.1.6 lib/recipes/bundler.rb
ricodigo-capistrano-recipes-0.1.5 lib/recipes/bundler.rb
ricodigo-capistrano-recipes-0.1.4 lib/recipes/bundler.rb
ricodigo-capistrano-recipes-0.1.3 lib/recipes/bundler.rb
ricodigo-capistrano-recipes-0.1.2 lib/recipes/bundler.rb
ricodigo-capistrano-recipes-0.1.1 lib/recipes/bundler.rb
ricodigo-capistrano-recipes-0.1.0 lib/recipes/bundler.rb