Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Ruby

heycynwrites
heycynwrites
20,022 Points

Rails console: uninitialized constant Test (NameError)

Hi there!

I'm following the Build a Simple Ruby on Rails App -- working in Ubuntu 14.4, Ruby 1.9.3 and Rails 3.2.16. I get the following message when I run the rails console command:

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

Any thoughts on how to remedy this or if you could point me in the right direction, I'd be most appreciative! Thanks!

1 Answer

heycynwrites
heycynwrites
20,022 Points

I didn't receive any feedback on this question I posted a month ago. I have now since solved the issue I was having. The rails console wasn't installed with the version of rails. So I looked up how to remedy the situation on Google. So no worries