[jruby-dev] Re: Install local gem on locally build jruby

2015-05-12 Thread Chamila Wijayarathna
Hi Charlie, I installed my gem from jruby installation location using bin/gem build gem location/oj.gemspec, bin/gem install oj, etc, In bin/gem list, Ican see 'oj (1.0 java)'. But when I ran attached .rb file using bin/jruby x.rb, I get following error. NameError: undefined local variable or

[jruby-dev] Re: Install local gem on locally build jruby

2015-05-11 Thread Charles Oliver Nutter
Usually it is just simpler to use the -I flag to add the gem clone's lib/ext/whatever dirs. If you can build the gem you can install normally. Between those two options there are ways to get a virtual gem directly on the clone, but I usually stick to the simpler options above. - Charlie (mobile)