Skip to content

Add RVM step to build instructions#944

Closed
Sinjo wants to merge 1 commit intojruby:masterfrom
Sinjo:rvm_advice_in_docs
Closed

Add RVM step to build instructions#944
Sinjo wants to merge 1 commit intojruby:masterfrom
Sinjo:rvm_advice_in_docs

Conversation

@Sinjo
Copy link
Contributor

@Sinjo Sinjo commented Aug 3, 2013

Adds a reminder for RVM users to switch to system Ruby to the instructions in BUILDING.md

It was something silly that caught me out, so I figured it might be worth mentioning it (given how commonly used RVM is).

@mkristian
Copy link
Member

may I ask what the effect was with rvm not using system ? command build/jruby should just work independent of the actual environment

@Sinjo
Copy link
Contributor Author

Sinjo commented Aug 3, 2013

When I ran (with an RVM managed Ruby in use):

bin/jruby -S rake test:mri19

I would get an error like:

rake aborted!
Could not find 'rspec' (>= 0) among 18 total gem(s)

I believe this was to blame:

sinjo@widdershins:~/projects/jruby$ bin/jruby -S gem environment
...
  - EXECUTABLE DIRECTORY: /home/sinjo/.rvm/gems/ruby-1.9.3-p429/bin

Same command with system Ruby selected:

  - EXECUTABLE DIRECTORY: /home/sinjo/projects/jruby/bin

@BanzaiMan
Copy link
Member

Do we know if rbenv and/or chruby are affected? I am open to adding a more general warning than just rvm.

enebo added a commit that referenced this pull request Sep 17, 2013
@enebo
Copy link
Member

enebo commented Sep 17, 2013

I could not merge this for some reason and made some textual changes. Fixed in b633137.

@enebo enebo closed this Sep 17, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants