As answered by Michal Papis on Github in this question, it can be done only with hacking a little and using the rvm-with gem:
require "rvm/with"
RVM.with "2.1.0@gemset --create" do |r|
puts r.execute "gem install ..."
puts r.execute "bundle exec ruby ./continuation_script.rb"
end