GithubHelp home page GithubHelp logo

Comments (6)

timcharper avatar timcharper commented on June 23, 2024

I've got one idea at least. Try 0.9.0 rc2 and let me know if you still get this.

from spork.

thibaudgg avatar thibaudgg commented on June 23, 2024

Now I have another exception with the rc2:

Exception encountered: #<NameError: uninitialized constant User>
backtrace:
/Users/Thibaud/.rvm/gems/ree-1.8.7-2010.02/gems/rspec-core-2.0.0.beta.22/lib/rspec/core/backward_compatibility.rb:20:in `const_missing'
/Users/Thibaud/.rvm/gems/ree-1.8.7-2010.02/gems/rspec-expectations-2.0.0.beta.22/lib/rspec/expectations/backward_compatibility.rb:6:in `const_missing'
/Users/Thibaud/Development/Code/Jilion/Products/SublimeVideo/my.sublimevideo.net/spec/models/user_spec.rb:58
/Users/Thibaud/.rvm/gems/ree-1.8.7-2010.02/gems/rspec-core-2.0.0.beta.22/lib/rspec/core/configuration.rb:308:in `load_spec_files'
/Users/Thibaud/.rvm/gems/ree-1.8.7-2010.02/gems/rspec-core-2.0.0.beta.22/lib/rspec/core/configuration.rb:308:in `map'
/Users/Thibaud/.rvm/gems/ree-1.8.7-2010.02/gems/rspec-core-2.0.0.beta.22/lib/rspec/core/configuration.rb:308:in `load_spec_files'
/Users/Thibaud/.rvm/gems/ree-1.8.7-2010.02/gems/rspec-core-2.0.0.beta.22/lib/rspec/core/command_line.rb:18:in `run'
/Users/Thibaud/.rvm/gems/ree-1.8.7-2010.02/gems/rspec-core-2.0.0.beta.22/lib/rspec/monkey/spork/test_framework/rspec.rb:4:in `run_tests'
/Users/Thibaud/.rvm/gems/ree-1.8.7-2010.02/gems/spork-0.9.0.rc2/lib/spork/run_strategy/forking.rb:13:in `run'
/Users/Thibaud/.rvm/gems/ree-1.8.7-2010.02/gems/spork-0.9.0.rc2/lib/spork/run_strategy/magazine/../../../spork/forker.rb:21:in `initialize'
/Users/Thibaud/.rvm/gems/ree-1.8.7-2010.02/gems/spork-0.9.0.rc2/lib/spork/run_strategy/magazine/../../../spork/forker.rb:18:in `fork'
/Users/Thibaud/.rvm/gems/ree-1.8.7-2010.02/gems/spork-0.9.0.rc2/lib/spork/run_strategy/magazine/../../../spork/forker.rb:18:in `initialize'
/Users/Thibaud/.rvm/gems/ree-1.8.7-2010.02/gems/spork-0.9.0.rc2/lib/spork/run_strategy/forking.rb:9:in `new'
/Users/Thibaud/.rvm/gems/ree-1.8.7-2010.02/gems/spork-0.9.0.rc2/lib/spork/run_strategy/forking.rb:9:in `run'
/Users/Thibaud/.rvm/gems/ree-1.8.7-2010.02/gems/spork-0.9.0.rc2/lib/spork/server.rb:47:in `run'
/Users/Thibaud/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/drb/drb.rb:1558:in `__send__'
/Users/Thibaud/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/drb/drb.rb:1558:in `perform_without_block'
/Users/Thibaud/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/drb/drb.rb:1518:in `perform'
/Users/Thibaud/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/drb/drb.rb:1592:in `main_loop'
/Users/Thibaud/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/drb/drb.rb:1588:in `loop'
/Users/Thibaud/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/drb/drb.rb:1588:in `main_loop'
/Users/Thibaud/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/drb/drb.rb:1584:in `start'
/Users/Thibaud/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/drb/drb.rb:1584:in `main_loop'
/Users/Thibaud/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/drb/drb.rb:1433:in `run'
/Users/Thibaud/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/drb/drb.rb:1430:in `start'
/Users/Thibaud/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/drb/drb.rb:1430:in `run'
/Users/Thibaud/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/drb/drb.rb:1350:in `initialize'
/Users/Thibaud/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/drb/drb.rb:1630:in `new'
/Users/Thibaud/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/drb/drb.rb:1630:in `start_service'
/Users/Thibaud/.rvm/gems/ree-1.8.7-2010.02/gems/spork-0.9.0.rc2/lib/spork/server.rb:29:in `listen'
/Users/Thibaud/.rvm/gems/ree-1.8.7-2010.02/gems/spork-0.9.0.rc2/lib/spork/server.rb:20:in `run'
/Users/Thibaud/.rvm/gems/ree-1.8.7-2010.02/gems/spork-0.9.0.rc2/bin/../lib/spork/runner.rb:75:in `run'
/Users/Thibaud/.rvm/gems/ree-1.8.7-2010.02/gems/spork-0.9.0.rc2/bin/../lib/spork/runner.rb:10:in `run'
/Users/Thibaud/.rvm/gems/ree-1.8.7-2010.02/gems/spork-0.9.0.rc2/bin/spork:10
/Users/Thibaud/.rvm/gems/ree-1.8.7-2010.02/bin/spork:19:in `load'
/Users/Thibaud/.rvm/gems/ree-1.8.7-2010.02/bin/spork:19

from spork.

kbjerring avatar kbjerring commented on June 23, 2024

Hey Thibaud. I've got exactly the same problem and error messages as you - both with spork 0.9.0.rc, and with 0.9.0.rc2. But I have no solution :(

from spork.

thibaudgg avatar thibaudgg commented on June 23, 2024

Sadly, I still got this problem. Tim any ideas to fix this? I really want to use Spork with Rails3 :-)

from spork.

Metallord avatar Metallord commented on June 23, 2024

This still happens for me on rc9. I'm using Ruby 1.9.2p290. I use Devise for my User model and I am doing what the wiki says about trapping Rails::Application::RoutesReloader.reload!. However if I remove that bit from the prefork it complains about undefined constant AlphabeticallyFirstHelper, so it seems to not load some bits of the application. I tested this on rails 3.1.0 and 3.1.1.rc1.

This may be related to issue #141

from spork.

Metallord avatar Metallord commented on June 23, 2024

Also related to issue #66. Removing config.threadsafe! from application.rb helped, but this is just a workaround.

from spork.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.