Re: [Jruby-devel] Rails 'generate' progress

2006-02-19 Thread Thomas E Enebo
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 reason

Re: [Jruby-devel] Rails 'generate' progress

2006-02-19 Thread Thomas E Enebo
On Sun, 19 Feb 2006, Charles O Nutter defenestrated me: > > With the runtime parse patch, we're getting much closer to running the > Rails 'generate' script. At this point it manages to require all the > frameworks in; that in itself is pretty big. It continues on in the > Rails initializer, execut

[Jruby-devel] PATCH: Fix runtime parsing from within a block

2006-02-19 Thread Charles O Nutter
This is a somewhat less naive patch than my previous attempt, and this one appears to work well enough for Rails to continue. It basically just looks through the iter stack (which specifies whether blocks are about to be or currently are being executed) and if it finds an ITER_CUR, meaning a block