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

Starting Rails Server Error

Hello,

I recently just finished the, "Build a Simple Ruby on Rails Application" project, and after i uploaded it to heroku, I'm no longer able to start my rails server. I type, "rails server" and this is the error i get.

C:\Users\Tristin>cd treebook

C:\Users\Tristin\treebook>rails server C:/Program Files (x86)/ruby-1.9.2/lib/ruby/site_ruby/1.9.1/rubygems.rb:926:in r eport_activate_error': Could not find RubyGem railties (>= 0) (Gem::LoadError) from C:/Program Files (x86)/ruby-1.9.2/lib/ruby/site_ruby/1.9.1/rubygems .rb:244:inactivate_dep' from C:/Program Files (x86)/ruby-1.9.2/lib/ruby/site_ruby/1.9.1/rubygems .rb:236:in activate' from C:/Program Files (x86)/ruby-1.9.2/lib/ruby/site_ruby/1.9.1/rubygems .rb:1307:ingem' from C:/RailsInstaller/Ruby1.9.3/bin/rails:18:in `<main>'

C:\Users\Tristin\treebook>

Anyone have any idea on how to fix this? Thanks!

2 Answers

Jason Seifer
STAFF
Jason Seifer
Treehouse Guest Teacher

Hey Tristin, try launching your command prompt with administrator access and type the following:

gem install bundler
bundle
rails server

Thank you!