Women in Technology

Hear us Roar



Article:
  Rolling with Ruby on Rails
Subject:   SystemStackError
Date:   2005-11-01 14:00:27
From:   GFunk911
Response to: SystemStackError

I have the exact same error. I got it when I first tried the tutorial on Thursday and have gotten it in 2 subsequent tries. I have not been able to get an answer. Does anyone have any ideas??
Full Threads Oldest First

Showing messages 1 through 4 of 4.

  • SystemStackError
    2005-11-01 15:11:11  GFunk911 [View]

    It appears the problem is due to different environment files. I have absolutely no idea WHY it's a problem, knowing hardly any ruby or anything about the technical details of Rails.

    I fixed the problem by replacing the Environments folder and the environment.rb file in the config folder with the corresponding files from the source zip of this tutorial.

    I can only assume that in between this tutorial and now, rails has cahnged in some way to cause this error? Is is syntax or are the steps incorrect or out of date in some way?

    If anyone who has gotten the tutorial to work in the past would take 10 minutes and run it again with the latest version of rails and the corresponding gems, it would be appreciated.
    • SystemStackError
      2005-11-02 07:24:54  isthisuniqueyet?? [View]

      Thanks for the feedback. Unfortunately this fix didn't work for me. Now when I start the server, I see warnings to the effect that the RAILS_ROOT and RAILS_ENV constants as declared in the environment.rb file had already been initialized. I'll keep poking at it, though.
      • SystemStackError
        2005-11-02 07:32:26  GFunk911 [View]

        I had gotten these errors, it has to do with where those constants are defined, the location is different in the generated version and the source zip. When I posted about the environment files, I was not getting those errors. I thought I had given myself a fresh generated set of files and then only copied over the environment files, but I guess not. I don't have time to do any work on this now, but when I do I'll post here again if I find anything.

        FYI, I believe those constants are defined in a boot.rb file, which is in the generated version but not the source.zip. I don't know where tehy are defined in the source.zip, but I would guess the environment files based on your experience.
        • SystemStackError
          2005-12-09 16:24:05  GFunk911 [View]

          I got a fix

          http://z.iwethey.org/forums/render/content/show?contentid=233038

          the last post