Skip to content

Instantly share code, notes, and snippets.

@ghigt
Created July 11, 2013 14:16
Show Gist options
  • Save ghigt/5975833 to your computer and use it in GitHub Desktop.
Save ghigt/5975833 to your computer and use it in GitHub Desktop.
Error upgrading to rails3.1
✗ rails s
=> Booting WEBrick
=> Rails 3.1.0 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server

*** Mocha deprecation warning: Change `require 'mocha'` to `require 'mocha/setup'`.

Exiting
/home/ghigt/.rvm/gems/ruby-1.8.7-p374/gems/mocha-0.14.0/lib/mocha/integration/mini_test/nothing.rb:14:in `included': No MiniTest integration available (RuntimeError)
	from /home/ghigt/.rvm/gems/ruby-1.8.7-p374/gems/mocha-0.14.0/lib/mocha/integration/mini_test.rb:46:in `include'
	from /home/ghigt/.rvm/gems/ruby-1.8.7-p374/gems/mocha-0.14.0/lib/mocha/integration/mini_test.rb:46:in `send'
	from /home/ghigt/.rvm/gems/ruby-1.8.7-p374/gems/mocha-0.14.0/lib/mocha/integration/mini_test.rb:46:in `activate'
	from /home/ghigt/.rvm/gems/ruby-1.8.7-p374/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:240:in `to_proc'
	from /home/ghigt/.rvm/gems/ruby-1.8.7-p374/gems/mocha-0.14.0/lib/mocha/integration.rb:8:in `map'
	from /home/ghigt/.rvm/gems/ruby-1.8.7-p374/gems/mocha-0.14.0/lib/mocha/integration.rb:8:in `activate'
	from /home/ghigt/.rvm/gems/ruby-1.8.7-p374/gems/mocha-0.14.0/lib/mocha/setup.rb:6:in `activate'
	from /home/ghigt/.rvm/gems/ruby-1.8.7-p374/gems/mocha-0.14.0/lib/mocha/setup.rb:10
	from /home/ghigt/.rvm/gems/ruby-1.8.7-p374/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:240:in `require'
	from /home/ghigt/.rvm/gems/ruby-1.8.7-p374/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:240:in `require'
	from /home/ghigt/.rvm/gems/ruby-1.8.7-p374/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:223:in `load_dependency'
	from /home/ghigt/.rvm/gems/ruby-1.8.7-p374/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:640:in `new_constants_in'
	from /home/ghigt/.rvm/gems/ruby-1.8.7-p374/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:223:in `load_dependency'
	from /home/ghigt/.rvm/gems/ruby-1.8.7-p374/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:240:in `require'
	from /home/ghigt/.rvm/gems/ruby-1.8.7-p374/gems/mocha-0.14.0/lib/mocha.rb:7
	from /home/ghigt/.rvm/gems/ruby-1.8.7-p374/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:240:in `require'
	from /home/ghigt/.rvm/gems/ruby-1.8.7-p374/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:240:in `require'
	from /home/ghigt/.rvm/gems/ruby-1.8.7-p374/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:223:in `load_dependency'
	from /home/ghigt/.rvm/gems/ruby-1.8.7-p374/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:640:in `new_constants_in'
	from /home/ghigt/.rvm/gems/ruby-1.8.7-p374/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:223:in `load_dependency'
	from /home/ghigt/.rvm/gems/ruby-1.8.7-p374/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:240:in `require'
	from /home/ghigt/.rvm/gems/ruby-1.8.7-p374/gems/activesupport-3.1.0/lib/active_support/testing/mochaing.rb:2
	from /home/ghigt/.rvm/gems/ruby-1.8.7-p374/gems/activesupport-3.1.0/lib/active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings'
	from /home/ghigt/.rvm/gems/ruby-1.8.7-p374/gems/activesupport-3.1.0/lib/active_support/core_ext/kernel/reporting.rb:22:in `with_warnings'
	from /home/ghigt/.rvm/gems/ruby-1.8.7-p374/gems/activesupport-3.1.0/lib/active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings'
	from /home/ghigt/.rvm/gems/ruby-1.8.7-p374/gems/activesupport-3.1.0/lib/active_support/testing/mochaing.rb:2
	from /home/ghigt/.rvm/gems/ruby-1.8.7-p374/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:240:in `require'
	from /home/ghigt/.rvm/gems/ruby-1.8.7-p374/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:240:in `require'
	from /home/ghigt/.rvm/gems/ruby-1.8.7-p374/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:223:in `load_dependency'
	from /home/ghigt/.rvm/gems/ruby-1.8.7-p374/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:640:in `new_constants_in'
	from /home/ghigt/.rvm/gems/ruby-1.8.7-p374/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:223:in `load_dependency'
	from /home/ghigt/.rvm/gems/ruby-1.8.7-p374/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:240:in `require'
	from /home/ghigt/.rvm/gems/ruby-1.8.7-p374/gems/activesupport-3.1.0/lib/active_support/test_case.rb:8
	from /home/ghigt/.rvm/gems/ruby-1.8.7-p374/gems/actionpack-3.1.0/lib/action_controller/test_case.rb:323
	from /home/ghigt/.rvm/gems/ruby-1.8.7-p374/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:240:in `require'
	from /home/ghigt/.rvm/gems/ruby-1.8.7-p374/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:240:in `require'
	from /home/ghigt/.rvm/gems/ruby-1.8.7-p374/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:223:in `load_dependency'
	from /home/ghigt/.rvm/gems/ruby-1.8.7-p374/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:640:in `new_constants_in'
	from /home/ghigt/.rvm/gems/ruby-1.8.7-p374/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:223:in `load_dependency'
	from /home/ghigt/.rvm/gems/ruby-1.8.7-p374/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:240:in `require'
	from /home/ghigt/.rvm/gems/ruby-1.8.7-p374/gems/actionpack-3.1.0/lib/action_view/test_case.rb:5
	from /home/ghigt/.rvm/gems/ruby-1.8.7-p374/gems/prototype-rails-3.1.0/lib/prototype-rails/on_load_action_view.rb:17
	from /home/ghigt/.rvm/gems/ruby-1.8.7-p374/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:240:in `require'
	from /home/ghigt/.rvm/gems/ruby-1.8.7-p374/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:240:in `require'
	from /home/ghigt/.rvm/gems/ruby-1.8.7-p374/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:223:in `load_dependency'
	from /home/ghigt/.rvm/gems/ruby-1.8.7-p374/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:640:in `new_constants_in'
	from /home/ghigt/.rvm/gems/ruby-1.8.7-p374/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:223:in `load_dependency'
	from /home/ghigt/.rvm/gems/ruby-1.8.7-p374/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:240:in `require'
	from /home/ghigt/.rvm/gems/ruby-1.8.7-p374/gems/prototype-rails-3.1.0/lib/prototype-rails.rb:12
	from /home/ghigt/.rvm/gems/ruby-1.8.7-p374/gems/activesupport-3.1.0/lib/active_support/lazy_load_hooks.rb:36:in `instance_eval'
	from /home/ghigt/.rvm/gems/ruby-1.8.7-p374/gems/activesupport-3.1.0/lib/active_support/lazy_load_hooks.rb:36:in `execute_hook'
	from /home/ghigt/.rvm/gems/ruby-1.8.7-p374/gems/activesupport-3.1.0/lib/active_support/lazy_load_hooks.rb:26:in `on_load'
	from /home/ghigt/.rvm/gems/ruby-1.8.7-p374/gems/prototype-rails-3.1.0/lib/prototype-rails.rb:11
	from /home/ghigt/.rvm/gems/ruby-1.8.7-p374/gems/railties-3.1.0/lib/rails/initializable.rb:25:in `instance_exec'
	from /home/ghigt/.rvm/gems/ruby-1.8.7-p374/gems/railties-3.1.0/lib/rails/initializable.rb:25:in `run'
	from /home/ghigt/.rvm/gems/ruby-1.8.7-p374/gems/railties-3.1.0/lib/rails/initializable.rb:50:in `run_initializers'
	from /home/ghigt/.rvm/gems/ruby-1.8.7-p374/gems/railties-3.1.0/lib/rails/initializable.rb:49:in `each'
	from /home/ghigt/.rvm/gems/ruby-1.8.7-p374/gems/railties-3.1.0/lib/rails/initializable.rb:49:in `run_initializers'
	from /home/ghigt/.rvm/gems/ruby-1.8.7-p374/gems/railties-3.1.0/lib/rails/application.rb:92:in `initialize!'
	from /home/ghigt/.rvm/gems/ruby-1.8.7-p374/gems/railties-3.1.0/lib/rails/railtie/configurable.rb:30:in `send'
	from /home/ghigt/.rvm/gems/ruby-1.8.7-p374/gems/railties-3.1.0/lib/rails/railtie/configurable.rb:30:in `method_missing'
	from /home/ghigt/Projects/Markus/config/environment.rb:9
	from /home/ghigt/Projects/Markus/config.ru:3:in `require'
	from /home/ghigt/Projects/Markus/config.ru:3
	from /home/ghigt/.rvm/gems/ruby-1.8.7-p374/gems/rack-1.3.10/lib/rack/builder.rb:51:in `instance_eval'
	from /home/ghigt/.rvm/gems/ruby-1.8.7-p374/gems/rack-1.3.10/lib/rack/builder.rb:51:in `initialize'
	from /home/ghigt/Projects/Markus/config.ru:0:in `new'
	from /home/ghigt/Projects/Markus/config.ru:0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment