lib/softwear/lib.rb in softwear-lib-0.0.11 vs lib/softwear/lib.rb in softwear-lib-0.0.12
- old
+ new
@@ -60,10 +60,10 @@
end
end
def self.capistrano(context)
context.instance_eval do
- ruby = fetch(:rvm_ruby_string)
+ ruby = fetch(:rvm_ruby_string) || fetch(:rvm_ruby_version)
gem_home = fetch(:gems_path) || "~/.rvm/rubies/#{ruby}/gems/gems"
namespace :deploy do
desc 'Assure softwear-lib is up to date before deploying'