Hello,
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)
(Gem::LoadError)
from C:/Program Files
(x86)/ruby-1.9.2/lib/ruby/site_ruby/1.9.1/rubygems
.rb:244:in `activate_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:in `gem'
from C:/RailsInstaller/Ruby1.9.3/bin/rails:18:in `<main>'
Anyone know how to fix this?
on 2013-01-29 20:56
on 2013-01-29 21:02
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" tom On Jan 29, 2013, at 20:56 , "Tristin G." <lists@ruby-forum.com> wrote: > (Gem::LoadError) > > -- =============================================================================== Tomas Meinlschmidt, MS {MCT, MCP+I, MCSE, AER}, NetApp Filer/NetCache www.meinlschmidt.com www.maxwellrender.cz www.lightgems.cz ===============================================================================
on 2013-01-29 21:06
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
(x86)/ruby-1.9.2/lib/ruby/gems/1.9.1/ge
ms/rack-1.4.4/test/cgi/assets/folder/test.js
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.