Sha256: ea5c341a1a141b449225d78e6f9bd62e95f74e3060635b800cd5b6a18d810d1e

Contents?: true

Size: 358 Bytes

Versions: 12

Compression:

Stored size: 358 Bytes

Contents

Capistrano::Configuration.instance.load do
  set_default(:ruby_version) { "1.9.3-p194" }

  after "setup", "ruby:setup"

  namespace :ruby do
    desc "Setup Ruby"
    task :setup, roles: [:web, :db, :worker], on_no_matching_servers: :continue do
      run "cd #{current_path} && rbenv local #{ruby_version} && gem install bundler foreman"
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
capistrano-elobuff-0.2.7 lib/capistrano/elobuff/recipes/ruby.rb
capistrano-elobuff-0.2.6 lib/capistrano/elobuff/recipes/ruby.rb
capistrano-elobuff-0.2.5 lib/capistrano/elobuff/recipes/ruby.rb
capistrano-elobuff-0.2.4 lib/capistrano/elobuff/recipes/ruby.rb
capistrano-elobuff-0.2.3 lib/capistrano/elobuff/recipes/ruby.rb
capistrano-elobuff-0.2.2 lib/capistrano/elobuff/recipes/ruby.rb
capistrano-elobuff-0.2.1 lib/capistrano/elobuff/recipes/ruby.rb
capistrano-elobuff-0.2.0 lib/capistrano/elobuff/recipes/ruby.rb
capistrano-elobuff-0.1.4 lib/capistrano/elobuff/recipes/ruby.rb
capistrano-elobuff-0.1.3 lib/capistrano/elobuff/recipes/ruby.rb
capistrano-elobuff-0.1.2 lib/capistrano/elobuff/recipes/ruby.rb
capistrano-elobuff-0.1.1 lib/capistrano/elobuff/recipes/ruby.rb