Displaying 2 results from an estimated 2 matches for "create_gemset".
2013 May 14
1
rvm/capistrano
...set :rvm_install_with_sudo, true
before ''deploy:setup'', ''rvm:install_rvm'' # install RVM
before ''deploy:setup'', ''rvm:install_ruby'' # install Ruby and create
gemset, OR:
before ''deploy:setup'', ''rvm:create_gemset'' # only create gemset
Now that''s what you would expect. However, I already had rvm, ruby
installed on my server, and all I wanted installed was the gemset
called online_store. So why was this unable to detect that rvm and
ruby was already installed?
--
You received this messag...
2014 May 02
0
staging server unexpectedly started installing gems during staging deploy
...xxx.xx.xx.xxx] Installing rdoc (3.12)
It started installing gems. What I don't understand is why it did this
during second deploy and not first? My staging and production gems should
be identical. My deploy.rb file has this:
namespace :deploy do
desc "Create the gemset"
task :create_gemset do
run "rvm #{rvm_ruby_string} --create"
end
desc "Install the bundle"
task :bundle do
run "bundle install --gemfile #{release_path}/Gemfile --without
development test"
end
end
Now the bundle install there should only be installing new gems that are...