[jruby-user] Re: How do I add something to the classpath in a JRuby on Rails app?

David Maxwell <[email protected]> Fri, 07 Nov 2014 18:52:44 +0100
Newsgroups gmane.comp.lang.jruby.user
Message-ID <[email protected]>
Bump for help!

I've tried adding this to config/environment.rb

require 'java'
$CLASSPATH << "lib/sdk/bin/"

and I've tried a few different combinations of this but it doesn't seem 
to work.

I think maybe I just don't really understand what the CLASSPATH is 
exactly.. is it a property of the system, or the app? Any help or an 
explanation would be appreciated!

-- 
Posted via http://www.ruby-forum.com/.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email