Merb-gen 0.9.4 (Templater?) blowing up on Jruby 1.1.3 (Java6/OSX)

Anyone else seen this (and have a fix)?
I’m going to give merb-trunk from git a go and see if it’s any better.

$ jruby --version
jruby 1.1.3 (ruby 1.8.$ java -version
java version “1.6.0_05”
Java™ SE Runtime Environment (build 1.6.0_05-b13-120)
Java HotSpot™ 64-Bit Server VM (build 1.6.0_05-b13-52, mixed mode)
6 patchlevel 114) (2008-07-20 rev 7243) [x86_64-java]
$ jgem install sequel merb hpricot merb_sequel

$ merb-gen app want
Generating with app generator:
[ADDED] want/Rakefile
[ADDED] want/app/controllers/application.rb
[ADDED] want/app/controllers/exceptions.rb
[ADDED] want/app/helpers/global_helpers.rb
[ADDED] want/app/views/exceptions/internal_server_error.html.erb
[ADDED] want/app/views/exceptions/not_acceptable.html.erb
[ADDED] want/app/views/exceptions/not_found.html.erb
[ADDED] want/autotest/discover.rb
[ADDED] want/autotest/merb.rb
[ADDED] want/autotest/merb_rspec.rb
(erb):73:in render': undefined local variable or method orm’ for
#Templater::Actions::Template:0x4937e670 (NameError)

Similar bug in anything using erb by the look of it:

hypnotoad:tmp $ jruby -S merb-gen controller poop
Generating with controller generator:
(erb):2:in render': undefined local variable or method modules’ for
#Templater::Actions::Template:0x7f4ea7bf (NameError)


Rasputnik :: Jack of All Trades - Master of Nuns
http://number9.hellooperator.net/


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

For the record: nope, merb 0.9.5 (from github) is still giving the same
error.

On Sun, Aug 17, 2008 at 1:46 PM, Dick D.
[email protected] wrote:

Anyone else seen this (and have a fix)?
I’m going to give merb-trunk from git a go and see if it’s any better.

[ADDED]  want/autotest/merb.rb
[ADDED]  want/autotest/merb_rspec.rb

(erb):73:in render': undefined local variable or method orm’ for
#Templater::Actions::Template:0x4937e670 (NameError)


Rasputnik :: Jack of All Trades - Master of Nuns
http://number9.hellooperator.net/


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

Dick D. wrote:

[ADDED]  want/Rakefile

#Templater::Actions::Template:0x4937e670 (NameError)
Odd…thiw as working just fine recently. Can you toss it into a bug
report? It could be something we broke before 1.1.3.

  • Charlie

To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

Installing now to have a look.

Dick D. wrote:

Dick D. wrote:

[ADDED] want/app/controllers/application.rb
Odd…thiw as working just fine recently. Can you toss it into a bug report?


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

Will do : http://jira.codehaus.org/browse/JRUBY-2931

I think it’s Templater that’s broken, not merb itself. Believe they
switched to using it
fairly recently
(about a month ago :
http://blog.merbivore.com/2008/07/21/charging-toward-1-0 )?

On Mon, Aug 18, 2008 at 5:34 AM, Charles Oliver N.
[email protected] wrote:

[ADDED] want/autotest/merb.rb
To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email


Rasputnik :: Jack of All Trades - Master of Nuns
http://number9.hellooperator.net/


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email