dimanche 4 janvier 2015

Rails Console is not working

I am getting the following error when trying to issue the rails c command. I have followed advice on other questions and uninstalled minitest v5 and reinstalled to v4 but no fix. Does anyone know a way to get around it? Thanks.


MiniTest::Unit::TestCase is now Minitest::Test. From /usr/lib/ruby/1.9.1/test/unit/testcase.rb:8:in <module:Unit>' /usr/lib/ruby/1.9.1/test/unit.rb:328:inautorun': uninitialized class variable @@installed_at_exit in Test::Unit::Runner (NameError) from /usr/lib/ruby/1.9.1/test/unit.rb:640:in <top (required)>' from /usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:251:inrequire' from /usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:251:in block in require' from /usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:236:inload_dependency' from /usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:251:in require' from /usr/lib/ruby/vendor_ruby/active_support/test_case.rb:2:in' from /usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:251:in require' from /usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:251:inblock in require' from /usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:236:in load_dependency' from /usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:251:inrequire' from /usr/lib/ruby/vendor_ruby/rails/console/app.rb:2:in <top (required)>' from /usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:251:inrequire' from /usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:251:in block in require' from /usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:236:inload_dependency' from /usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:251:in require' from /usr/lib/ruby/vendor_ruby/rails/application.rb:312:ininitialize_console' from /usr/lib/ruby/vendor_ruby/rails/application.rb:152:in load_console' from /usr/lib/ruby/vendor_ruby/rails/commands/console.rb:27:instart' from /usr/lib/ruby/vendor_ruby/rails/commands/console.rb:8:in start' from /usr/lib/ruby/vendor_ruby/rails/commands.rb:41:in' from script/rails:6:in require' from script/rails:6:in'


Aucun commentaire:

Enregistrer un commentaire