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![](https://ecs-static.teamtreehouse.com/assets/views/marketing/shared/community-banner-white-47072046c51352fe6a69f5e691ff5700b28bb11d45197d7bdf066d9ea3f72d0c.webp)
![Michael Immordino](https://uploads.teamtreehouse.com/production/profile-photos/96789/micro_portrait-vsquare.jpg)
Michael Immordino
Courses Plus Student 6,749 PointsRails Console Fails To Load, Throws Error
I'm following the Build a Simple Ruby on Rails Application series and just completed installing/migrating devise and updating the sign-up page to include First Name, Last Name, and Profile Name. I'm currently at the part where we enter the rails console to remove the initial account we created so the "email already exists" error does not occur when we attempt to sign-up a second time with the new fields. However, when I attempt to run rails console in terminal, the below error occurs and kicks me back to the command line. I'm using Ruby 2.2.2, Rails 3.2.18, and RVM on OSX Yosemite, Any help would be greatly appreciated.
/usr/local/rvm/gems/ruby-2.2.2@treebook/gems/activesupport-3.2.18/lib/active_support/values/time_zone.rb:270: warning: circular argument reference - now
/usr/local/rvm/gems/ruby-2.2.2@treebook/gems/activesupport-3.2.18/lib/active_support/dependencies.rb:251:in `require': cannot load such file -- test/unit/testcase (LoadError)
from /usr/local/rvm/gems/ruby-2.2.2@treebook/gems/activesupport-3.2.18/lib/active_support/dependencies.rb:251:in `block in require'
from /usr/local/rvm/gems/ruby-2.2.2@treebook/gems/activesupport-3.2.18/lib/active_support/dependencies.rb:236:in `load_dependency'
from /usr/local/rvm/gems/ruby-2.2.2@treebook/gems/activesupport-3.2.18/lib/active_support/dependencies.rb:251:in `require'
from /usr/local/rvm/gems/ruby-2.2.2@treebook/gems/activesupport-3.2.18/lib/active_support/test_case.rb:1:in `<top (required)>'
from /usr/local/rvm/gems/ruby-2.2.2@treebook/gems/activesupport-3.2.18/lib/active_support/dependencies.rb:251:in `require'
from /usr/local/rvm/gems/ruby-2.2.2@treebook/gems/activesupport-3.2.18/lib/active_support/dependencies.rb:251:in `block in require'
from /usr/local/rvm/gems/ruby-2.2.2@treebook/gems/activesupport-3.2.18/lib/active_support/dependencies.rb:236:in `load_dependency'
from /usr/local/rvm/gems/ruby-2.2.2@treebook/gems/activesupport-3.2.18/lib/active_support/dependencies.rb:251:in `require'
from /usr/local/rvm/gems/ruby-2.2.2@treebook/gems/railties-3.2.18/lib/rails/console/app.rb:2:in `<top (required)>'
from /usr/local/rvm/gems/ruby-2.2.2@treebook/gems/activesupport-3.2.18/lib/active_support/dependencies.rb:251:in `require'
from /usr/local/rvm/gems/ruby-2.2.2@treebook/gems/activesupport-3.2.18/lib/active_support/dependencies.rb:251:in `block in require'
from /usr/local/rvm/gems/ruby-2.2.2@treebook/gems/activesupport-3.2.18/lib/active_support/dependencies.rb:236:in `load_dependency'
from /usr/local/rvm/gems/ruby-2.2.2@treebook/gems/activesupport-3.2.18/lib/active_support/dependencies.rb:251:in `require'
from /usr/local/rvm/gems/ruby-2.2.2@treebook/gems/railties-3.2.18/lib/rails/application.rb:312:in `initialize_console'
from /usr/local/rvm/gems/ruby-2.2.2@treebook/gems/railties-3.2.18/lib/rails/application.rb:152:in `load_console'
from /usr/local/rvm/gems/ruby-2.2.2@treebook/gems/railties-3.2.18/lib/rails/commands/console.rb:27:in `start'
from /usr/local/rvm/gems/ruby-2.2.2@treebook/gems/railties-3.2.18/lib/rails/commands/console.rb:8:in `start'
from /usr/local/rvm/gems/ruby-2.2.2@treebook/gems/railties-3.2.18/lib/rails/commands.rb:41:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'
1 Answer
![Michael Immordino](https://uploads.teamtreehouse.com/production/profile-photos/96789/micro_portrait-vsquare.jpg)
Michael Immordino
Courses Plus Student 6,749 PointsMichael Immordino
Courses Plus Student 6,749 PointsFound a solution in another forum post! Apparently the test-unit gem needs to be installed in the gemfile. Specific instructions can be found here:
https://teamtreehouse.com/forum/is-it-ok-to-have-newest-version-of-ruby-with-old-version-of-rails-rails-console-wont-load