[jruby-dev] RedBridge unable to load JRuby RubyGems

2011-07-20 Thread Shih-gian Lee
Hi All, I am trying to use RedBridge to troubleshoot a Nokogiri issue. I found out that RedBridge failed to load JRuby gems for some reason. Here is the simple code to load RubyGems without all the unnecessary noise - http://pastie.org/2242475. The stacktrace that I am getting is here - http://pas

Re: [jruby-dev] RedBridge unable to load JRuby RubyGems

2011-07-20 Thread Shih-gian Lee
I forgot to include environment information. I am running Mac OSX Snow Leopard in Eclipse Indigo. Thanks! On Wed, Jul 20, 2011 at 8:21 AM, Shih-gian Lee wrote: > Hi All, > > I am trying to use RedBridge to troubleshoot a Nokogiri issue. I found out > that RedBridge failed to load JRuby gems for

Re: [jruby-dev] RedBridge unable to load JRuby RubyGems

2011-07-20 Thread Yoko Harada
Hi, You have "Exception `LoadError' at org/jruby/RubyKernel.java:1037 - no such file to load -- helper" in your exception stack trace. You want to run Nokogiri's tests, right? Then, you need to load Nokoigiri's helper.rb, too. Hope this helps, -Yoko On Wed, Jul 20, 2011 at 8:33 AM, Shih-gian Lee

Re: [jruby-dev] RedBridge unable to load JRuby RubyGems

2011-07-20 Thread Shih-gian Lee
Hi Yoko, Yes, I would like to run Nokogiri's test to help out with Nokogiri issue (I have some time again:)). This is my complete source - https://gist.github.com/1095486 with stacktrace - https://gist.github.com/1095483 I am puzzled by the following exception: LoadError: no such file to load --

Re: [jruby-dev] RedBridge unable to load JRuby RubyGems

2011-07-20 Thread Shih-gian Lee
Hi Yoko, I found out that this line of code - container.getProvider().getRubyInstanceConfig().setDebug(true); caused the rubygems and other libraries load to fail. After I commented out that line of code, most of the error went away except the load error for nokogiri/css/parser: /Users/sglee77

Re: [jruby-dev] RedBridge unable to load JRuby RubyGems

2011-07-20 Thread Shih-gian Lee
Well, I managed to run the test without any problems after installing nokogiri gem. But, I thought container.setLoadPaths(); suppose to take care of that without requiring me to install the gem. The console outputs the following information after I ran the test successfully: /Users/sglee77/work/gi

Re: [jruby-dev] RedBridge unable to load JRuby RubyGems

2011-07-20 Thread Shih-gian Lee
Hi Yoko, Can you tell me the steps to build a Pure Java Nokogiri gem? The instructions you put on your blog are outdated: $ git clone git://github.com/tenderlove/nokogiri.git $ cd nokogiri $ git checkout -b java origin/java (use C Ruby for following two commands) $ sudo gem install racc rexical r