Skip to content
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

Overiding Windows Path and 'hide' Ruby installation #3190

Closed
belgoros opened this issue Jul 27, 2015 · 1 comment
Closed

Overiding Windows Path and 'hide' Ruby installation #3190

belgoros opened this issue Jul 27, 2015 · 1 comment
Milestone

Comments

@belgoros
Copy link

If you already have Ruby installed on a Windows PC before installing JRuby, JRuby will write its bin folder to the Path and precede the Ruby bin path. As a result, when running gem list to display just Ruby gems, you will get a JRuby gem list. To fix that, I had just to modify Windows path (environnement variables) and put Ruby bin just before the JRuby's one.

Reproduced on:

  • Windows PC, Windows 7 Professional
  • Installed Ruby version: ruby 2.2.2p95 (2015-04-13 revision 50295) [x64-mingw32]
  • Installed JRuby versio: jruby 9.0.0.0 (2.2.2) 2015-07-21 e10ec96 Java HotSpot(TM) 64-Bit Server VM 24.79-b02 on 1.7.0_79-b15 +jit [Windows 7-amd64]
@kares kares added this to the Won't Fix milestone Jan 20, 2017
@kares
Copy link
Member

kares commented Jan 20, 2017

really nothing to be done here. if you do the opposite (install JRuby first) than you end up with the same.
safest bet is to use -S and or a Ruby installation manager (believe there was something available for Win).

@kares kares closed this as completed Jan 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants