Skip to content

Instantly share code, notes, and snippets.

@nz
Created September 17, 2010 17:09
Show Gist options
  • Save nz/584561 to your computer and use it in GitHub Desktop.
Save nz/584561 to your computer and use it in GitHub Desktop.
nick@ariga:~/src/sunspot/sunspot_rails master BUNDLE_GEMFILE=spec/rails3/Gemfile RAILS_ROOT=spec/rails3/ bundle exec rspec spec/
You did not specify how you would like Rails to report deprecation notices for your test environment, please set config.active_support.deprecation to :stderr at config/environments/test.rb
DEPRECATION WARNING: You are using the old router DSL which will be removed in Rails 3.1. Please check how to update your routes file at: http://www.engineyard.com/blog/2010/the-lowdown-on-routes-in-rails-3/. (called from <top (required)> at /Users/nick/src/sunspot/sunspot_rails/spec/rails3/config/routes.rb:1)
/usr/local/Cellar/ruby/1.9.2-p0/lib/ruby/gems/1.9.1/gems/rspec-core-2.0.0.beta.22/lib/rspec/core/example_group.rb:30:in `block (2 levels) in delegate_to_metadata': wrong number of arguments (1 for 0) (ArgumentError)
from /Users/nick/src/sunspot/sunspot_rails/spec/request_lifecycle_spec.rb:19:in `block in <top (required)>'
from /usr/local/Cellar/ruby/1.9.2-p0/lib/ruby/gems/1.9.1/gems/rspec-core-2.0.0.beta.22/lib/rspec/core/example_group.rb:130:in `module_eval'
from /usr/local/Cellar/ruby/1.9.2-p0/lib/ruby/gems/1.9.1/gems/rspec-core-2.0.0.beta.22/lib/rspec/core/example_group.rb:130:in `subclass'
from /usr/local/Cellar/ruby/1.9.2-p0/lib/ruby/gems/1.9.1/gems/rspec-core-2.0.0.beta.22/lib/rspec/core/example_group.rb:117:in `describe'
from /usr/local/Cellar/ruby/1.9.2-p0/lib/ruby/gems/1.9.1/gems/rspec-core-2.0.0.beta.22/lib/rspec/core/extensions/object.rb:7:in `describe'
from /Users/nick/src/sunspot/sunspot_rails/spec/request_lifecycle_spec.rb:3:in `<top (required)>'
from /usr/local/Cellar/ruby/1.9.2-p0/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:235:in `load'
from /usr/local/Cellar/ruby/1.9.2-p0/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:235:in `block in load'
from /usr/local/Cellar/ruby/1.9.2-p0/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:225:in `block in load_dependency'
from /usr/local/Cellar/ruby/1.9.2-p0/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:591:in `new_constants_in'
from /usr/local/Cellar/ruby/1.9.2-p0/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:225:in `load_dependency'
from /usr/local/Cellar/ruby/1.9.2-p0/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:235:in `load'
from /usr/local/Cellar/ruby/1.9.2-p0/lib/ruby/gems/1.9.1/gems/rspec-core-2.0.0.beta.22/lib/rspec/core/configuration.rb:308:in `block in load_spec_files'
from /usr/local/Cellar/ruby/1.9.2-p0/lib/ruby/gems/1.9.1/gems/rspec-core-2.0.0.beta.22/lib/rspec/core/configuration.rb:308:in `map'
from /usr/local/Cellar/ruby/1.9.2-p0/lib/ruby/gems/1.9.1/gems/rspec-core-2.0.0.beta.22/lib/rspec/core/configuration.rb:308:in `load_spec_files'
from /usr/local/Cellar/ruby/1.9.2-p0/lib/ruby/gems/1.9.1/gems/rspec-core-2.0.0.beta.22/lib/rspec/core/command_line.rb:18:in `run'
from /usr/local/Cellar/ruby/1.9.2-p0/lib/ruby/gems/1.9.1/gems/rspec-core-2.0.0.beta.22/lib/rspec/core/runner.rb:36:in `run_in_process'
from /usr/local/Cellar/ruby/1.9.2-p0/lib/ruby/gems/1.9.1/gems/rspec-core-2.0.0.beta.22/lib/rspec/core/runner.rb:27:in `run'
from /usr/local/Cellar/ruby/1.9.2-p0/lib/ruby/gems/1.9.1/gems/rspec-core-2.0.0.beta.22/bin/rspec:3:in `<top (required)>'
from /usr/local/Cellar/ruby/1.9.2-p0/lib/ruby/gems/1.9.1/bin/rspec:19:in `load'
from /usr/local/Cellar/ruby/1.9.2-p0/lib/ruby/gems/1.9.1/bin/rspec:19:in `<main>'
@nz
Copy link
Author

nz commented Sep 17, 2010

Fixed the "anonymous modules" error for 1.9.2 and Rails 2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment