sporkrb / spork-rails

Spork plugin for rails
MIT License
184 stars 45 forks source link

spork fails to load nested namespaced controller specs in Rails 3.2.16 #23

Open n3jain opened 10 years ago

n3jain commented 10 years ago

Running nested controller specs when spork is not running and not supplying the drb option fails with load_missing_constant error: /usr/local/rvm/gems/ruby-1.8.7-p357/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:503:inload_missing_constant'`

When spork is running and drb option is entered, then it complains of not being able to load jasmine-core: Exception encountered: #<LoadError: no such file to load -- jasmine-core> Other specs run fine w(/o) spork.

SO thread also mentions same issue: http://stackoverflow.com/questions/10021288/rails-nested-namespaced-controller-in-rails-3-2-fails-to-load-fine-in-3-0 Another mentions a workaround spork: http://stackoverflow.com/a/11157712