Rails server not starting


Im currently having troubles getting my rails server to start. I was
working on it fine yesterday, but now it seems like it isn't working at
all. These are the errors i get when i try and start the server up,

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)
        from C:/Program Files
.rb:244:in `activate_dep'
        from C:/Program Files
.rb:236:in `activate'
        from C:/Program Files
.rb:1307:in `gem'
        from C:/RailsInstaller/Ruby1.9.3/bin/rails:18:in `<main>'

Anyone know how to fix this?

Aren't you using rvm? is your rails installed? try "gem list rails" and check result, it should print something like

gem list rails

*** LOCAL GEMS ***

rails (3.0.0, 2.3.8, 2.3.2, 2.2.2)

if not, do "gem install rails"


Okay this is what happened after typing the above,

C:\Users\Tristin\treebook>gem list rails

*** LOCAL GEMS ***

C:\Users\Tristin\treebook>gem install rails
ERROR: While executing gem ... (Errno::EACCES)
    Permission denied - C:/Program Files