Re: ActionView::Template::Error (stack level too deep)

163 views
Skip to first unread message

Shawn Edge

unread,
Oct 31, 2012, 10:23:13 PM10/31/12
to hobo...@googlegroups.com
I was able to figure it out.. it seems ruby 1.9.3  isn't yet supported and/or the compiler that comes with Xcode 4.5 needs to be changed. Changing both of these downgrading to 1.9.2 and the compiler allowed me to continue working.

- Shawn

On Wednesday, October 31, 2012 9:03:05 PM UTC-4, Shawn Edge wrote:
Hi Guys, 

Came across Hobo today and I have decided to play around with it. I'm trying to run through the installation and as soon as I go to my localhost to view the site I get this error.....

  Rendered front/index.dryml (400.5ms)
Completed 500 Internal Server Error in 442ms

ActionView::Template::Error (stack level too deep):
  dryml (2.0.0.pre4) lib/dryml/dryml_builder.rb:124


Any idea what I might be doing wrong? 

System Specs :

Ruby:ruby 1.9.3p286 (2012-10-12 revision 37165) [x86_64-darwin12.2.0]

Rails:Rails 3.2.8

Operating system : Mac OSX 10.8.2

RVM is install and I'm using Hobo 2.0.0.pre4

Many Thanks, 

- Shawn

kevinpfromnm

unread,
Nov 1, 2012, 2:21:24 PM11/1/12
to hobo...@googlegroups.com
It's not 1.9.3, unless it's the later revision or somehow the mac version is different.

Bryan Larsen

unread,
Nov 1, 2012, 3:10:33 PM11/1/12
to hobo...@googlegroups.com
1.9.3 is the recommended version for Hobo 2.0, although we also test
against 1.9.2, 1.8.7 and jruby-1.6.7.

Bryan

Bryan Larsen

unread,
Dec 26, 2012, 3:54:41 PM12/26/12
to hobo...@googlegroups.com
I dimissed the original error report because it would not be
particularly surprising if XCode's ruby was messed up. However, it
sounds like people are experiencing this on non-XCode devices.

I've been using 1.8.7-p194 on Ubuntu 12.04 & 12.10 for many months
now. That's been solid. I also just tested with 1.9.3-p286 &
1.9.3-p327, generating a new blank application and running the
integration tests. Both succeeded.

Linux Mint 14 is based on Ubuntu so it's very surprising that one
works and the other doesn't.

Can you do me a favor and try and run the integration tests with a
failing 1.9.3? Check out Hobo from github, cd
integration_tests/agility and follow the instructions in the README
there. ping me if you have any troubles.

The main reason I'm asking is because one of the instructions is to
run "bundle install", so it gives you a very specific set of gems.

thanks,
Bryan




On Wed, Dec 26, 2012 at 3:39 AM, Sam Rose <samros...@gmail.com> wrote:
> Howdy y'all,
>
> I can confirm that (with using the same specs as Shawn) Hobo 2.0.0 preview
> 4's, as well as 6's and 7's DRYML gems fail to compile the appropriate DRYML
> files. Yet, the downgrade to 1.9.2 seemed to fix it. I also tested it on my
> Linux Mint 14 (Cinnamon) installation and encountered the same error. I
> presume it has to do with 1.9.3.
>
> -Sam
>
>
> On Wednesday, October 31, 2012 6:03:05 PM UTC-7, Shawn Edge wrote:
>>
>> Hi Guys,
>>
>> Came across Hobo today and I have decided to play around with it. I'm
>> trying to run through the installation and as soon as I go to my localhost
>> to view the site I get this error.....
>>
>> Rendered front/index.dryml (400.5ms)
>> Completed 500 Internal Server Error in 442ms
>>
>> ActionView::Template::Error (stack level too deep):
>> dryml (2.0.0.pre4) lib/dryml/dryml_builder.rb:124
>>
>>
>> Any idea what I might be doing wrong?
>>
>> System Specs :
>>
>> Ruby:ruby 1.9.3p286 (2012-10-12 revision 37165) [x86_64-darwin12.2.0]
>>
>> Rails:Rails 3.2.8
>>
>> Operating system : Mac OSX 10.8.2
>>
>> RVM is install and I'm using Hobo 2.0.0.pre4
>>
>> Many Thanks,
>>
>> - Shawn
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Hobo Users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/hobousers/-/rxapjaBZYOwJ.
>
> To post to this group, send email to hobo...@googlegroups.com.
> To unsubscribe from this group, send email to
> hobousers+...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/hobousers?hl=en.

Sam Rose

unread,
Dec 27, 2012, 2:12:55 AM12/27/12
to hobo...@googlegroups.com
My sincere apologies. I just noticed that I had not updated Ruby version 1.9.3 in either of my systems. It works perfect and smoothly with the current build: 1.9.3-p362. I was previously running Ruby 1.9.3-p194. 

XCode version 4.2.1 with command line tools installed on Mountain Lion 10.8.2 works perfectly. The trick was just making sure to use RVM's custom version rather than utilizing the system defaults.

Cheers,
Sam
Reply all
Reply to author
Forward
0 new messages