jruby-launcher
jruby-launcher copied to clipboard
Older versions of JRuby do not load RbConfig by default
As a result of rbenv/ruby-build#1293 we discovered a build issue for jruby-launcher.
JRuby 1.6.8, for example, fails 'gem install jruby-launcher'.
/home/deploy/.rbenv/versions/jruby-1.6.8/bin/jruby extconf.rb
NameError: uninitialized constant RbConfig
In fact most elderly JRuby's are making the same complaint. This quick patch would make a lot of retro JRuby'ers happier.
guess it won't hurt anyone, right? // cc @headius