Skip to content
This repository has been archived by the owner on Jan 10, 2024. It is now read-only.

wrong constant name JasmineRails/specRunnerController when running under Rails 3.1.12 #99

Closed
kevinold opened this issue Jan 14, 2014 · 4 comments

Comments

@kevinold
Copy link

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:

Project31::Application.routes.draw do

  mount JasmineRails::Engine => '/specs' if defined?(JasmineRails)

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:inblock 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:inconstantize'
/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:inyield'
/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:incontroller_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:incall'
/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:inblock 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:inrecognize'
/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:incall'
/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:inmethod_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:inblock 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:inoptimized_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:incall'
/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:incall'
/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:incall'
/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:incall'
/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:incontext'
/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:incall'
/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:incall'
/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:incall'
/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:incall'
/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:incall'
/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:incall'
/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:incall'
/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:incall'
/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:incall'
/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:inrequest'
/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:inrequest'
/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:inget'
/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:inblock 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:inrun'
/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.

@searls
Copy link
Member

searls commented Jan 14, 2014

Woah, that's weird. Any comment, @wireframe?

On Tue, Jan 14, 2014 at 5:58 PM, Kevin Old notifications@github.com wrote:

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:

Project31::Application.routes.draw do

mount JasmineRails::Engine => '/specs' if defined?(JasmineRails)

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:inblock
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:inblock
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:inblock
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:inblock
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 '
Tasks: TOP => spec:javascript

I have not been able to find a solution. Any help would be appreciated.


Reply to this email directly or view it on GitHubhttps://github.com//issues/99
.

@wireframe
Copy link
Contributor

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
http://www.codecrate.com

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:

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:

Project31::Application.routes.draw do

mount JasmineRails::Engine => '/specs' if defined?(JasmineRails)

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:inblock
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:inblock
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:inblock
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:inblock
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 '
Tasks: TOP => spec:javascript

I have not been able to find a solution. Any help would be appreciated.


Reply to this email directly or view it on GitHubhttps://github.com//issues/99
.


Reply to this email directly or view it on GitHub.

@kevinold kevinold reopened this Jan 14, 2014
@kevinold
Copy link
Author

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.

@kevinold
Copy link
Author

It looks like we might be running into an issue with the right-aws 2.0.0 gem:

a="JasmineRails::SpecRunnerController"
=> "JasmineRails::SpecRunnerController" 
1.9.3-p484 :007 > binding.pry
[1] pry(main)> cd a
[2] pry("JasmineRails::SpecRunnerController"):1> $ constantize

From: /Users/eddyk/.rvm/gems/ruby-1.9.3-p484@rails3/gems/right_aws-2.0.0/lib/awsbase/support.rb @ line 42:
Owner: String
Visibility: public
Number of lines: 7

def constantize()
  unless /\A(?:::)?([A-Z]\w*(?:::[A-Z]\w*)*)\z/ =~ self
    raise NameError, "#{self.inspect} is not a valid constant name!"
  end

  Object.module_eval("::#{$1}", __FILE__, __LINE__)
end

I'll close this issue, but will update with our resolution.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants