Quantcast
Channel: Active questions tagged ruby - Stack Overflow
Viewing all articles
Browse latest Browse all 4623

Add .class files path to JRuby run command line

$
0
0

I have 2 file in folder: ~/hello.rb and ~/help.rb. hello.rb requires help.rb.I have compiled them into ~/build/ folder with:

jrubyc -t build/ .

When i run hello.rb with jruby, jruby searches for help.class in ~/, but I want to tell it to look in ~/build/ folder. How can I do it?


Viewing all articles
Browse latest Browse all 4623


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>