Created
March 7, 2014 09:36
-
-
Save kares/9408476 to your computer and use it in GitHub Desktop.
Gemfile header for using JRuby (on Heroku) as well as MRI locally (first line to override RVM's parsing)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ruby=1.9.3 | |
# Gemfile header for using JRuby (on Heroku) as well as MRI locally | |
source 'https://rubygems.org' | |
if ENV["JRUBY"] || RUBY_PLATFORM == "java" | |
# https://devcenter.heroku.com/articles/ruby-support#ruby-versions | |
ruby '1.9.3', engine: 'jruby', engine_version: '1.7.10' | |
else | |
ruby '1.9.3' | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment