TorqueBox
  1. TorqueBox
  2. TORQUE-477

Starting Rails 3.1 app fails due to "Application has been already initialized"

    Details

    • Type: Bug Bug
    • Status: Closed Closed (View Workflow)
    • Priority: Major Major
    • Resolution: Done
    • Affects Version/s: 1.0.1, 2.0.0.Beta1
    • Fix Version/s: 1.1, 2.0.0.Beta1
    • Component/s: None
    • Labels:
      None
    • Steps to Reproduce:
      Hide

      gem install torquebox-server --pre --source http://torquebox.org/2x/builds/LATEST/gem-repo/
      gem install rails --pre
      rails new test_app
      torquebox deploy test_app
      torquebox run

      Then navigate to the applications web address.

      Show
      gem install torquebox-server --pre --source http://torquebox.org/2x/builds/LATEST/gem-repo/ gem install rails --pre rails new test_app torquebox deploy test_app torquebox run Then navigate to the applications web address.
    • Similar Issues:
      Show 10 results 

      Description

      When attempting to deploy and run a bare Rails 3.1 app using 2.x.incremental.222 and 223 the app fails with: "Application has been already initialized." A full stack is available at https://gist.github.com/1070501.

        Activity

        Hide
        Joshua Borton
        added a comment -

        I've done some more testing with this. On both a Mac OS X 10.6.8 machine and a Ubuntu 10.04 machine using either Torquebox 1.0.1 or 2.x.incremental builds I'm receiving the same error and stack trace.

        Show
        Joshua Borton
        added a comment - I've done some more testing with this. On both a Mac OS X 10.6.8 machine and a Ubuntu 10.04 machine using either Torquebox 1.0.1 or 2.x.incremental builds I'm receiving the same error and stack trace.
        Show
        Toby Crawley
        added a comment - Fix for the 1.x branch: https://github.com/torquebox/torquebox/commit/84a52dc948a650564c354e6b2ca1ee6e4be4080f
        Show
        Toby Crawley
        added a comment - Additional 1.x fix: https://github.com/torquebox/torquebox/commit/a0010c051e11e7aef3b77f69d66eb005e2cd681c Full patch ported to 2.x: https://github.com/torquebox/torquebox/commit/84e9fed275a89bcc87b548c4123bdaed220e4b5c

          People

          • Assignee:
            Toby Crawley
            Reporter:
            Joshua Borton
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: