New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unknown ruby interpreter version: '1.9.3,engine:rbx,engine_version:2.0.0.rc1' #1819

Closed
iainbeeston opened this Issue Apr 20, 2013 · 1 comment

Comments

Projects
None yet
2 participants
@iainbeeston

iainbeeston commented Apr 20, 2013

I'm trying to use rubinius 2.0rc1 using the ruby directive in my gemfile, which looks like this:

ruby '1.9.3', engine: 'rbx', engine_version: '2.0.0.rc1'

(based on the instructions given here)

However, rvm (stable and head) then give me the following error:

Unknown ruby interpreter version: '1.9.3,engine:rbx,engine_version:2.0.0.rc1'.

I can get rvm to use rubinius 2 correctly using this syntax in my gemfile instead:

#ruby=rbx-2.0.0.rc1

but the fact that I have to override the ruby directive feels like a bug (maybe when parsing the ruby directive rvm doesn't recognise rubinius' ruby 1.9 mode? I'm not sure?) so I thought I'd raise it here

@mpapis

This comment has been minimized.

Show comment
Hide comment
@mpapis

mpapis Apr 20, 2013

Member

A Gemfile is Ruby code, it can not be properly parsed from simple shell script, so only minimal logic is supported, this is why the comment version has higher priority. This will be automatically fixed with RVM 2 as it will be based on Ruby and will be able to properly read Gemfiles.

Member

mpapis commented Apr 20, 2013

A Gemfile is Ruby code, it can not be properly parsed from simple shell script, so only minimal logic is supported, this is why the comment version has higher priority. This will be automatically fixed with RVM 2 as it will be based on Ruby and will be able to properly read Gemfiles.

@mpapis mpapis closed this Apr 20, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment