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!
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
Errors for testing Ruby install - Warning using Rubygems, upgrade to 2.1.0
I followed the video but get the following message,
$ bin/rails server
Warning: You're using Rubygems 2.0.14 with Spring. Upgrade to at least Rubygems 2.1.0 and run
gem pristine --all for better startup performance.
Could anyone tell me what to do?
Stone Preston42,016 Points
looks like thats just a warning, not an error. You could try doing what it suggests and installing a newer version of ruby gems
David Aviles3,743 Points
I am having the same issue currently. I am getting the following
require': cannot load such file -- bundler/setup (LoadError)
from /Library/Ruby/Gems/2.0.0/gems/spring-1.1.3/lib/spring/commands.rb:4:in<top (required)>'
block in run'
from /Library/Ruby/Gems/2.0.0/gems/spring-1.1.3/lib/spring/application/boot.rb:18:in<top (required)>'
from -e:1:in `<main>'
I have updated the system version - output "Latest version currently installed. Aborting."
Any help will be appreciated.
My issue was that I was on Mavericks using Homebrew. The symlinks and paths were pointing to different places. A simple uninstall of homebrew and manual update of the system versions of rails and ruby fixed the issue.
Seth Forsgren2,254 Points
Hey, I've tried all the above as well and still having this issue:
$ gem install Rubygems
ERROR: Could not find a valid gem 'Rubygems' (>= 0) in any repository
ERROR: Possible alternatives: ruby_gem, rubydeps, rubyjams, rubygems-s3, rubygame