Sha256: 8593194600c2396144aaca6ddf06b1a57e663e4287cca0f0f950a6f3dbe194eb

Contents?: true

Size: 1015 Bytes

Versions: 29

Compression:

Stored size: 1015 Bytes

Contents

Capistrano::Configuration.instance.load do

  # defaults
  #_cset :bundle_gemfile,  "Gemfile"
  #_cset :bundle_dir,      File.join(fetch(:shared_path), 'bundle')
  #_cset :bundle_roles,    #{role_default} # e.g. [:app, :batch]
  #_cset :bundle_cmd,      "/home/deploy/.rbenv/shims/bundle"
  _cset :bundle_without,  [:development, :test, :deploy]
  # http://shapeshed.com/journal/using-rbenv-to-manage-rubies/
  # you can also apply a clever technique to allow you switch versions of ruby by pushing a new .rbenv-version file with capistrano. From version 1.1rc bundler allows you to specify a shebang for binstubs. To use this add the following to your capistrano recipe.
  _cset :bundle_flags,    "--deployment --quiet --binstubs --shebang ruby-local-exec"
  _cset :rake, 'bundle exec rake'

  require 'bundler/capistrano'

  namespace :bundler do
    task :install_gem do
      run "cd #{release_path} && gem install bundler --no-ri --no-rdoc"
    end
  end

  #before "bundle:install", "bundler:install_gem"
end

Version data entries

29 entries across 29 versions & 2 rubygems

Version Path
caploy-0.1.12 lib/caploy/recipes/bundler.rb
caploy-0.1.11 lib/caploy/recipes/bundler.rb
caploy-0.1.10 lib/caploy/recipes/bundler.rb
caploy-0.1.9 lib/caploy/recipes/bundler.rb
caploy-0.1.8 lib/caploy/recipes/bundler.rb
caploy-0.1.7 lib/caploy/recipes/bundler.rb
caploy-0.1.6 lib/caploy/recipes/bundler.rb
caploy-0.1.5 lib/caploy/recipes/bundler.rb
caploy-0.1.4 lib/caploy/recipes/bundler.rb
caploy-0.1.3 lib/caploy/recipes/bundler.rb
caploy-0.1.2 lib/caploy/recipes/bundler.rb
caploy-0.1.1 lib/caploy/recipes/bundler.rb
caploy-0.1.0 lib/caploy/recipes/bundler.rb
ms_deploy-0.3.6 lib/ms_deploy/recipes/bundler.rb
ms_deploy-0.3.5 lib/ms_deploy/recipes/bundler.rb
ms_deploy-0.3.4 lib/ms_deploy/recipes/bundler.rb
ms_deploy-0.3.3 lib/ms_deploy/recipes/bundler.rb
ms_deploy-0.3.2 lib/ms_deploy/recipes/bundler.rb
ms_deploy-0.3.1 lib/ms_deploy/recipes/bundler.rb
ms_deploy-0.3.0 lib/ms_deploy/recipes/bundler.rb