RVM With JRuby 1.7.0 “Unknown Ruby Interpreter”

2020-06-04 09:06发布

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'
gem 'rails', '3.2.8'

Whenever I change into the project directory I get the following message:

Unknown ruby interpreter version: '1.9.3,engine:jruby,engine_version:1.7.0'.

I'm running RVM 1.16.17 and have installed 'jruby-1.7.0'. Is my Gemfile engine misconfigued or do I need to change something in RVM?

1条回答
聊天终结者
2楼-- · 2020-06-04 09:32

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
查看更多
登录 后发表回答