Ruby Forum JRuby > merb-gen 0.9.4 (Templater?) blowing up on Jruby 1.1.3 (Java6/OSX)

Posted by Dick Davies (Guest)
on 17.08.2008 14:47
(Received via mailing list)
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(TM) SE Runtime Environment (build 1.6.0_05-b13-120)
Java HotSpot(TM) 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
Posted by Dick Davies (Guest)
on 18.08.2008 00:00
(Received via mailing list)
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 Davies
<rasputnik@hellooperator.net> 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
Posted by Charles Oliver Nutter (Guest)
on 18.08.2008 06:35
(Received via mailing list)
Dick Davies 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
Posted by Dick Davies (Guest)
on 18.08.2008 11:09
(Received via mailing list)
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 Nutter
<charles.nutter@sun.com> 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
Posted by Charles Oliver Nutter (Guest)
on 18.08.2008 21:52
(Received via mailing list)
Installing now to have a look.

Dick Davies wrote:
>> Dick Davies 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