-
Notifications
You must be signed in to change notification settings - Fork 154
wrong constant name JasmineRails/specRunnerController when running under Rails 3.1.12 #99
Comments
Woah, that's weird. Any comment, @wireframe? On Tue, Jan 14, 2014 at 5:58 PM, Kevin Old notifications@github.com wrote:
|
Is this a regression with an existing app updating to the latest version or an error setting it up for the first time? Rails 3.1 has reached end of life status (with the exception of severe security fixes), and I haven’t done any testing with any version older than 3.2. Mountable engines were introduced in 3.1 and my only guess would be that Rails 3.1 has a bug with it’s engine routing? Ryan Sonnek [codecrate] Building better code On January 14, 2014 at 5:08:48 PM, Justin Searls (notifications@github.com) wrote: Woah, that's weird. Any comment, @wireframe? On Tue, Jan 14, 2014 at 5:58 PM, Kevin Old notifications@github.com wrote:
|
Oops, accidentally closed. I'll try to see if I can dig into Rails 3.1 for the immediate need and see if we can get to Rails 3.2. Thanks. |
It looks like we might be running into an issue with the right-aws 2.0.0 gem:
I'll close this issue, but will update with our resolution. |
Hi,
I'm on a project with Rails 3.1 as the version and I am getting the error below when trying to navigate to /specs. I'm using 0.5.4 of jasmine-rails.
I define the mount at the top of routes.rb:
And receive this error:
wrong constant name JasmineRails/specRunnerController
/Users/kevinold/project31/.gems/gems/activesupport-3.1.12/lib/active_support/inflector/methods.rb:124:in
const_defined?' /Users/kevinold/project31/.gems/gems/activesupport-3.1.12/lib/active_support/inflector/methods.rb:124:in
block in constantize'/Users/kevinold/project31/.gems/gems/activesupport-3.1.12/lib/active_support/inflector/methods.rb:123:in
each' /Users/kevinold/project31/.gems/gems/activesupport-3.1.12/lib/active_support/inflector/methods.rb:123:in
constantize'/Users/kevinold/project31/.gems/gems/activesupport-3.1.12/lib/active_support/dependencies.rb:528:in
block in initialize' /Users/kevinold/project31/.gems/gems/activesupport-3.1.12/lib/active_support/dependencies.rb:550:in
yield'/Users/kevinold/project31/.gems/gems/activesupport-3.1.12/lib/active_support/dependencies.rb:550:in
[]' /Users/kevinold/project31/.gems/gems/actionpack-3.1.12/lib/action_dispatch/routing/route_set.rb:67:in
controller_reference'/Users/kevinold/project31/.gems/gems/actionpack-3.1.12/lib/action_dispatch/routing/route_set.rb:52:in
controller' /Users/kevinold/project31/.gems/gems/actionpack-3.1.12/lib/action_dispatch/routing/route_set.rb:31:in
call'/Users/kevinold/project31/.gems/gems/rack-mount-0.8.3/lib/rack/mount/route_set.rb:152:in
block in call' /Users/kevinold/project31/.gems/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:96:in
block in recognize'/Users/kevinold/project31/.gems/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:68:in
optimized_each' /Users/kevinold/project31/.gems/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:95:in
recognize'/Users/kevinold/project31/.gems/gems/rack-mount-0.8.3/lib/rack/mount/route_set.rb:141:in
call' /Users/kevinold/project31/.gems/gems/actionpack-3.1.12/lib/action_dispatch/routing/route_set.rb:538:in
call'/Users/kevinold/project31/.gems/gems/railties-3.1.12/lib/rails/engine.rb:456:in
call' /Users/kevinold/project31/.gems/gems/railties-3.1.12/lib/rails/railtie/configurable.rb:30:in
method_missing'/Users/kevinold/project31/.gems/gems/rack-mount-0.8.3/lib/rack/mount/prefix.rb:26:in
call' /Users/kevinold/project31/.gems/gems/rack-mount-0.8.3/lib/rack/mount/route_set.rb:152:in
block in call'/Users/kevinold/project31/.gems/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:96:in
block in recognize' /Users/kevinold/project31/.gems/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:75:in
optimized_each'/Users/kevinold/project31/.gems/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:95:in
recognize' /Users/kevinold/project31/.gems/gems/rack-mount-0.8.3/lib/rack/mount/route_set.rb:141:in
call'/Users/kevinold/project31/.gems/gems/actionpack-3.1.12/lib/action_dispatch/routing/route_set.rb:538:in
call' /Users/kevinold/project31/.gems/gems/actionpack-3.1.12/lib/action_dispatch/middleware/best_standards_support.rb:17:in
call'/Users/kevinold/project31/.gems/gems/rack-1.3.10/lib/rack/etag.rb:23:in
call' /Users/kevinold/project31/.gems/gems/rack-1.3.10/lib/rack/conditionalget.rb:25:in
call'/Users/kevinold/project31/.gems/gems/actionpack-3.1.12/lib/action_dispatch/middleware/head.rb:14:in
call' /Users/kevinold/project31/.gems/gems/actionpack-3.1.12/lib/action_dispatch/middleware/params_parser.rb:21:in
call'/Users/kevinold/project31/.gems/gems/actionpack-3.1.12/lib/action_dispatch/middleware/flash.rb:243:in
call' /Users/kevinold/project31/.gems/gems/rack-1.3.10/lib/rack/session/abstract/id.rb:195:in
context'/Users/kevinold/project31/.gems/gems/rack-1.3.10/lib/rack/session/abstract/id.rb:190:in
call' /Users/kevinold/project31/.gems/gems/actionpack-3.1.12/lib/action_dispatch/middleware/cookies.rb:331:in
call'/Users/kevinold/project31/.gems/gems/activerecord-3.1.12/lib/active_record/query_cache.rb:64:in
call' /Users/kevinold/project31/.gems/gems/activerecord-3.1.12/lib/active_record/connection_adapters/abstract/connection_pool.rb:477:in
call'/Users/kevinold/project31/.gems/gems/actionpack-3.1.12/lib/action_dispatch/middleware/callbacks.rb:29:in
block in call' /Users/kevinold/project31/.gems/gems/activesupport-3.1.12/lib/active_support/callbacks.rb:392:in
_run_call_callbacks'/Users/kevinold/project31/.gems/gems/activesupport-3.1.12/lib/active_support/callbacks.rb:81:in
run_callbacks' /Users/kevinold/project31/.gems/gems/actionpack-3.1.12/lib/action_dispatch/middleware/callbacks.rb:28:in
call'/Users/kevinold/project31/.gems/gems/rack-1.3.10/lib/rack/sendfile.rb:101:in
call' /Users/kevinold/project31/.gems/gems/actionpack-3.1.12/lib/action_dispatch/middleware/remote_ip.rb:48:in
call'/Users/kevinold/project31/.gems/gems/actionpack-3.1.12/lib/action_dispatch/middleware/show_exceptions.rb:47:in
call' /Users/kevinold/project31/.gems/gems/railties-3.1.12/lib/rails/rack/logger.rb:13:in
call'/Users/kevinold/project31/.gems/gems/rack-1.3.10/lib/rack/methodoverride.rb:24:in
call' /Users/kevinold/project31/.gems/gems/rack-1.3.10/lib/rack/runtime.rb:17:in
call'/Users/kevinold/project31/.gems/gems/activesupport-3.1.12/lib/active_support/cache/strategy/local_cache.rb:72:in
call' /Users/kevinold/project31/.gems/gems/rack-1.3.10/lib/rack/lock.rb:15:in
call'/Users/kevinold/project31/.gems/gems/actionpack-3.1.12/lib/action_dispatch/middleware/static.rb:61:in
call' /Users/kevinold/project31/.gems/gems/airbrake-3.1.2/lib/airbrake/rack.rb:42:in
call'/Users/kevinold/project31/.gems/gems/airbrake-3.1.2/lib/airbrake/user_informer.rb:12:in
call' /Users/kevinold/project31/.gems/gems/railties-3.1.12/lib/rails/engine.rb:456:in
call'/Users/kevinold/project31/.gems/gems/railties-3.1.12/lib/rails/application.rb:143:in
call' /Users/kevinold/project31/.gems/gems/rack-test-0.6.2/lib/rack/mock_session.rb:30:in
request'/Users/kevinold/project31/.gems/gems/rack-test-0.6.2/lib/rack/test.rb:230:in
process_request' /Users/kevinold/project31/.gems/gems/rack-test-0.6.2/lib/rack/test.rb:123:in
request'/Users/kevinold/project31/.gems/gems/actionpack-3.1.12/lib/action_dispatch/testing/integration.rb:297:in
process' /Users/kevinold/project31/.gems/gems/actionpack-3.1.12/lib/action_dispatch/testing/integration.rb:33:in
get'/Users/kevinold/project31/.gems/gems/jasmine-rails-0.5.4/lib/jasmine_rails/runner.rb:56:in
get_spec_runner' /Users/kevinold/project31/.gems/gems/jasmine-rails-0.5.4/lib/jasmine_rails/runner.rb:13:in
block in run'/Users/kevinold/project31/.gems/gems/jasmine-rails-0.5.4/lib/jasmine_rails/runner.rb:46:in
override_rails_config' /Users/kevinold/project31/.gems/gems/jasmine-rails-0.5.4/lib/jasmine_rails/runner.rb:9:in
run'/Users/kevinold/project31/.gems/gems/jasmine-rails-0.5.4/lib/tasks/jasmine-rails_tasks.rake:7:in `block (2 levels) in <top (required)>'
Tasks: TOP => spec:javascript
I have not been able to find a solution. Any help would be appreciated.
The text was updated successfully, but these errors were encountered: