I setup a basic Rails application with the following Gemfile:
source \'https://rubygems.org\' ruby \'1.9.3\', engine: \'jruby\', engine_version: \'1.7.0\' ge
RVM has limited support of the ruby directive, you can use comment to overwrite what will be used by RVM:
#ruby=jruby-1.7.0