lib/rvm/capistrano/empty_gemset.rb in rvm-capistrano-1.4.4 vs lib/rvm/capistrano/empty_gemset.rb in rvm-capistrano-1.5.0.rc1

- old
+ new

@@ -10,10 +10,12 @@ ruby, gemset = rvm_ruby_string_evaluated.to_s.strip.split /@/ if %w( release_path default ).include? "#{ruby}" raise "gemset can not be emptied when using :rvm_ruby_string => :#{ruby}" else if gemset - run_rvm("rvm --force gemset empty #{gemset}", :with_ruby => ruby) + run_rvm("rvm --force gemset empty #{gemset}", + :with_rvm_group => true, :with_ruby => ruby, + :subject_class => :gemsets) end end end end