Sha256: 4f4a0f6bcc99ecdfb2f00638433aeea422b67f611f4abb801c51b10d11524c6a

Contents?: true

Size: 586 Bytes

Versions: 4

Compression:

Stored size: 586 Bytes

Contents

Capistrano::Configuration.instance.load do
  namespace :bundler do
    desc "|DarkRecipes| 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 "|DarkRecipes| 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

4 entries across 4 versions & 3 rubygems

Version Path
capistrano-recipes-0.8.0 lib/recipes/bundler.rb
dark-capistrano-recipes-0.7.2 lib/recipes/bundler.rb
dark-capistrano-recipes-0.7.0 lib/recipes/bundler.rb
ra-capistrano-recipes-0.7.0 lib/recipes/bundler.rb