lib/minke/tasks/fetch.rb in minke-1.11.7 vs lib/minke/tasks/fetch.rb in minke-1.11.8
- old
+ new
@@ -11,10 +11,11 @@
rvm_installed = File.exist?(rvm)
rvm_root_installed = File.exist?(rvm_root)
gemset = File.open('.ruby-gemset', 'rb') { |file| file.read }
-
+ gemset = gemset.strip
+
puts "Using gemset #{gemset}"
rvm_command = "source #{rvm} && rvm gemset use #{gemset} && " if rvm_installed
rvm_command = "source #{rvm_root} && rvm gemset use #{gemset} && " if rvm_root_installed