Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Invalid - 'Stack level too deep' from calculations.rb:276 in beta3 on ruby 1.9.1

#4779

Hello, I am fairly new to the rails world and this is my first ticket.

As you may see in my full trace I am using ruby 1.9.1 and rails 3.0.0.beta3 and I am on a Mac OSX 10.5.8 (Leopard).

I started by just creating a new rails app with and then scaffoldings a new model and running 'rake db:migrate'. That is all, nothing else.

I am getting a 'stack level too deep' error and while running a full trace I was abel to find that the following was being looped over.

activesupport-3.0.0.beta3/lib/active_support/core_ext/time/calculations.rb:276:in compare_with_coercion'

I was able to find a quick work around here
#3808 Error creating Rails 3.0.pre Application

from bigtoe416 by running

bundle exec bash

and then I was able to migrate my database fine, however I think this is more or a band-aid to the actual problem.

Attached it my full trace without the looping

Reported by RailsCanuck · June 6th, 2010 @ 07:14 PM

State: invalid
Milestone: none
Assigned to: nobody
Importance: none

Activity

  1. RailsCanuck
    RailsCanuck

    I updated my version of rvm and to rails to beta4 and all seems to be good now.

    June 10th, 2010 @ 07:31 PM

  2. Anuj Dutta
    Anuj Dutta
    • Title changed from 'Stack level too deep' from calculations.rb:276 in beta3 on ruby 1.9.1 to Invalid - 'Stack level too deep' from calculations.rb:276 in beta3 on ruby 1.9.1

    This should be marked as invalid.

    June 11th, 2010 @ 07:05 PM

  3. Santiago Pastorino
    Santiago Pastorino
    • State changed from new to invalid

    Please try with 1.9.2 preview3

    June 13th, 2010 @ 09:33 AM