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)
O
Hi Charlie,
I installed my gem from jruby installation location using bin/gem build
/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 method `oj' for