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 trialThomas Vaeth
14,820 Points-Itest not working...?
Thomass-MBP:treebook thomasvaeth$ ruby -Itest test/unit/user_test.rb
/Users/thomasvaeth/.rvm/gems/ruby-2.2.0/gems/activesupport-3.2.18/lib/active_support/values/time_zone.rb:270: warning: circular argument reference - now
/Users/thomasvaeth/.rvm/gems/ruby-2.2.0/gems/activesupport-3.2.18/lib/active_support/dependencies.rb:251:in require': cannot load such file -- test/unit (LoadError)
from /Users/thomasvaeth/.rvm/gems/ruby-2.2.0/gems/activesupport-3.2.18/lib/active_support/dependencies.rb:251:in
block in require'
from /Users/thomasvaeth/.rvm/gems/ruby-2.2.0/gems/activesupport-3.2.18/lib/active_support/dependencies.rb:236:in load_dependency'
from /Users/thomasvaeth/.rvm/gems/ruby-2.2.0/gems/activesupport-3.2.18/lib/active_support/dependencies.rb:251:in
require'
from /Users/thomasvaeth/.rvm/gems/ruby-2.2.0/gems/railties-3.2.18/lib/rails/test_help.rb:5:in <top (required)>'
from /Users/thomasvaeth/.rvm/gems/ruby-2.2.0/gems/activesupport-3.2.18/lib/active_support/dependencies.rb:251:in
require'
from /Users/thomasvaeth/.rvm/gems/ruby-2.2.0/gems/activesupport-3.2.18/lib/active_support/dependencies.rb:251:in block in require'
from /Users/thomasvaeth/.rvm/gems/ruby-2.2.0/gems/activesupport-3.2.18/lib/active_support/dependencies.rb:236:in
load_dependency'
from /Users/thomasvaeth/.rvm/gems/ruby-2.2.0/gems/activesupport-3.2.18/lib/active_support/dependencies.rb:251:in require'
from /Users/thomasvaeth/Treehouse/treebook/test/test_helper.rb:3:in
<top (required)>'
from /Users/thomasvaeth/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in require'
from /Users/thomasvaeth/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in
require'
from test/unit/user_test.rb:1:in `<main>'
I followed the video exactly, but I am getting that error in my console. I don't understand why.
Thomas Vaeth
14,820 PointsI thought the questions were just attached to the video I was working on. Build a Simple Ruby on Rails Application -> Writing Tests. I don't understand why I am being charged a premium for VERY outdated course material. I've been left very disappointed between this and the MySQL course.
Maciej Czuchnowski
36,441 PointsI don't understand it either, I even had a rage quit after trying to do the treebook app for the first time. Make sure you contact support and tell them what you think (mods are just students, not part of the staff), perhaps the Treehouse team will invest more in Rails courses with the right pressure from the students. You can always try doing the Todo List Application course, which uses slightly newer versions or Rails and other gems, but has its own problems.
Thomas Vaeth
14,820 PointsThank you. I will definitely contact them. I actually figured out the problem. I had to just do rvm 1.9.3 (which would have been very useful if they did that at the beginning of the video instead of at the end of the video).
1 Answer
Thomas Vaeth
14,820 PointsType rvm 1.9.3 into console before doing any of the video. And then check ruby -v to make sure it is 1.9.3.
Maciej Czuchnowski
36,441 PointsMaciej Czuchnowski
36,441 PointsThomas,
We don't know what video you are referring to and how your code looks like. Bear in mind that treebook is a VERY outdated course and most things will not work unless you use old versions of gems, Bootstrap etc.