Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I downloaded the mac version of jruby. After installing it doesn't show up in the path. I'm new to mac and don't know where it is installed.

I'm running Mac OS 10.6.8.

share|improve this question

1 Answer 1

up vote 4 down vote accepted

JRuby should automatically be available as jruby on your command line. Eventually restart your Terminal.

Its framework is installed to:

/Library/Frameworks/JRuby.framework

Therefore, its binary is in:

/Library/Frameworks/JRuby.framework/Versions/Current/bin/jruby

If it doesn't work, manually add the following to your PATH, for example in ~/.bash_profile or .profile, whatever you use):

export PATH=$PATH:/Library/Frameworks/JRuby.framework/Versions/Current/bin
share|improve this answer
    
Thanks this fixes it. the installer had automatically created the .profile file but my zshrc didn't source it. –  nikhil May 11 '12 at 6:18
    
This is still an issue in jruby 1.7.4. –  Joshua Olson Sep 15 '13 at 23:32

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.