On Sun, 19 Feb 2006, Thomas E Enebo defenestrated me: > > I have been working on two seperate things: > 1. webrick running (e.g. make socket.rb better) > 2. Trying to run script/server on the equivalent hello world RoR project. > > On item 1, I am currently trying to hack around having a reasonable > Kernel#select implementation. The real solution is to change IO to use > nio. For now, I have been trying to make a read-only select that should > give us what webrick requires. I am currently stuck on TCPServer needing > to be an IO object. > > For item 2, I explode with the following error. Until very recently, I > thought this was the same problem Charlie was having. Now I realize it > must be something else (I am not using any serialized files): > > org.jruby.runtime.Scope.setValue(Scope.java:129): > java.lang.NullPointerException: null (NativeException) > from > org.jruby.evaluator.EvaluateVisitor$LocalAsgnNodeVisitor1.execute(EvaluateVisitor.java:1306) > ...
Scratch that...I was still including a serialized version causing this problem. Now in this area, I get one problem trying to load a non-existent .rb (rails_env.rb), which I am guessing we do not handle a rescue correct. I add an empty one and then the thing runs to completion with no error and no server started :) Hmmm, something is not working. Unless my stubbing did this we have a problem somewhere. -Tom -- + http://www.tc.umn.edu/~enebo +---- mailto:[EMAIL PROTECTED] ----+ | Thomas E Enebo, Protagonist | "Luck favors the prepared | | | mind." -Louis Pasteur | ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Jruby-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jruby-devel
