Skip to content

Instantly share code, notes, and snippets.

@phreax
Created March 21, 2012 14:10
Show Gist options
  • Save phreax/2147172 to your computer and use it in GitHub Desktop.
Save phreax/2147172 to your computer and use it in GitHub Desktop.
error with rspec and ruby 1.9.2 in chili project
$ rspec
NOTE: Gem.source_index is deprecated, use Specification. It will be removed on o
r after 2011-11-01.
Gem.source_index called from /home/michat/.rvm/gems/ruby-1.9.2-p318@bagel/gems/r
ails-2.3.14/lib/rails/gem_dependency.rb:21.
NOTE: Gem.source_index is deprecated, use Specification. It will be removed on o
r after 2011-11-01.
Gem.source_index called from /home/michat/.rvm/gems/ruby-1.9.2-p318@bagel/gems/r
ails-2.3.14/lib/rails/gem_dependency.rb:104.
NOTE: Gem::SourceIndex#search is deprecated with no replacement. It will be remo
ved on or after 2011-11-01.
Gem::SourceIndex#search called from /home/michat/.rvm/gems/ruby-1.9.2-p318@bagel
/gems/rails-2.3.14/lib/rails/vendor_gem_source_index.rb:119.
NOTE: Gem::SourceIndex#search is deprecated with no replacement. It will be remo
ved on or after 2011-11-01.
Gem::SourceIndex#search called from /home/michat/.rvm/gems/ruby-1.9.2-p318@bagel
/gems/rails-2.3.14/lib/rails/vendor_gem_source_index.rb:119.
/home/michat/.rvm/gems/ruby-1.9.2-p318@bagel/gems/activesupport-2.3.14/lib/activ
e_support/dependencies.rb:443:in `load_missing_constant': Object is not missing
constant Enumeration! (ArgumentError)
from /home/michat/.rvm/gems/ruby-1.9.2-p318@bagel/gems/activesupport-2.3
.14/lib/active_support/dependencies.rb:106:in `const_missing_with_dependencies'
from /home/michat/.rvm/gems/ruby-1.9.2-p318@bagel/gems/rake-0.9.2.2/lib/
rake/ext/module.rb:36:in `const_missing'
from /home/michat/.rvm/gems/ruby-1.9.2-p318@bagel/gems/activesupport-2.3
.14/lib/active_support/dependencies.rb:118:in `const_missing'
from /home/michat/.rvm/gems/ruby-1.9.2-p318@bagel/gems/activesupport-2.3
.14/lib/active_support/dependencies.rb:124:in `rescue in const_missing'
from /home/michat/.rvm/gems/ruby-1.9.2-p318@bagel/gems/activesupport-2.3
.14/lib/active_support/dependencies.rb:121:in `const_missing'
from /home/michat/dev/bagel/app/models/custom_enumeration.rb:3:in `<clas
s:CustomEnumeration>'
from /home/michat/dev/bagel/app/models/custom_enumeration.rb:1:in `<top
(required)>'
from /home/michat/.rvm/gems/ruby-1.9.2-p318@bagel/gems/activesupport-2.3
.14/lib/active_support/dependencies.rb:184:in `require'
from /home/michat/.rvm/gems/ruby-1.9.2-p318@bagel/gems/activesupport-2.3
.14/lib/active_support/dependencies.rb:184:in `require'
from /home/michat/.rvm/gems/ruby-1.9.2-p318@bagel/gems/activesupport-2.3
.14/lib/active_support/dependencies.rb:291:in `require_or_load'
from /home/michat/dev/bagel/vendor/plugins/engines/lib/engines/rails_ext
ensions/dependencies.rb:132:in `require_or_load_with_engine_additions'
from /home/michat/.rvm/gems/ruby-1.9.2-p318@bagel/gems/activesupport-2.3
.14/lib/active_support/dependencies.rb:250:in `depend_on'
from /home/michat/.rvm/gems/ruby-1.9.2-p318@bagel/gems/activesupport-2.3
.14/lib/active_support/dependencies.rb:162:in `require_dependency'
from /home/michat/.rvm/gems/ruby-1.9.2-p318@bagel/gems/rails-2.3.14/lib/
initializer.rb:414:in `block (2 levels) in load_application_classes'
from /home/michat/.rvm/gems/ruby-1.9.2-p318@bagel/gems/rails-2.3.14/lib/
initializer.rb:413:in `each'
from /home/michat/.rvm/gems/ruby-1.9.2-p318@bagel/gems/rails-2.3.14/lib/
initializer.rb:413:in `block in load_application_classes'
from /home/michat/.rvm/gems/ruby-1.9.2-p318@bagel/gems/rails-2.3.14/lib/
initializer.rb:411:in `each'
from /home/michat/.rvm/gems/ruby-1.9.2-p318@bagel/gems/rails-2.3.14/lib/
initializer.rb:411:in `load_application_classes'
from /home/michat/.rvm/gems/ruby-1.9.2-p318@bagel/gems/rails-2.3.14/lib/
initializer.rb:197:in `process'
from /home/michat/.rvm/gems/ruby-1.9.2-p318@bagel/gems/rails-2.3.14/lib/
initializer.rb:113:in `run'
from /home/michat/dev/bagel/config/environment.rb:33:in `<top (required)
>'
from /home/michat/.rvm/rubies/ruby-1.9.2-p318/lib/ruby/site_ruby/1.9.1/r
ubygems/custom_require.rb:36:in `require'
from /home/michat/.rvm/rubies/ruby-1.9.2-p318/lib/ruby/site_ruby/1.9.1/r
ubygems/custom_require.rb:36:in `require'
from /home/michat/dev/bagel/vendor/plugins/redmine_screen_provider/spec/
spec_helper.rb:4:in `<top (required)>'
from /home/michat/.rvm/rubies/ruby-1.9.2-p318/lib/ruby/site_ruby/1.9.1/r
ubygems/custom_require.rb:36:in `require'
from /home/michat/.rvm/rubies/ruby-1.9.2-p318/lib/ruby/site_ruby/1.9.1/r
ubygems/custom_require.rb:36:in `require'
from /home/michat/dev/bagel/vendor/plugins/redmine_screen_provider/spec/
lib/screen_provider_spec.rb:1:in `<top (required)>'
from /home/michat/.rvm/gems/ruby-1.9.2-p318@bagel/gems/rspec-core-2.9.0/
lib/rspec/core/configuration.rb:746:in `load'
from /home/michat/.rvm/gems/ruby-1.9.2-p318@bagel/gems/rspec-core-2.9.0/
lib/rspec/core/configuration.rb:746:in `block in load_spec_files'
from /home/michat/.rvm/gems/ruby-1.9.2-p318@bagel/gems/rspec-core-2.9.0/
lib/rspec/core/configuration.rb:746:in `map'
from /home/michat/.rvm/gems/ruby-1.9.2-p318@bagel/gems/rspec-core-2.9.0/
lib/rspec/core/configuration.rb:746:in `load_spec_files'
from /home/michat/.rvm/gems/ruby-1.9.2-p318@bagel/gems/rspec-core-2.9.0/
lib/rspec/core/command_line.rb:22:in `run'
from /home/michat/.rvm/gems/ruby-1.9.2-p318@bagel/gems/rspec-core-2.9.0/
lib/rspec/core/runner.rb:69:in `run'
from /home/michat/.rvm/gems/ruby-1.9.2-p318@bagel/gems/rspec-core-2.9.0/
lib/rspec/core/runner.rb:10:in `block in autorun'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment