Error in Ruby on Rails on Ubuntu 14.04

133 views Asked by At

When I run rails c I get an error:

/usr/lib/ruby/vendor_ruby/active_support/test_case.rb:12:in `<module:ActiveSupport>': uninitialized constant Test::Unit::TestCase (NameError)

Please help me to fix this error.

1

There are 1 answers

1
osman On

Add require 'test/unit' at the beginning of /usr/lib/ruby/vendor_ruby/active_support/test_case.rb