[Rails] Gemfile load error
I was trying to create a new project today and was unable to use the rails server. Here's what happened
MacBook-Air:~ fy$ rails server
/Library/Ruby/Site/1.8/rubygems/dependency.rb:247:in `to_specs': Could not find rails (>= 0) amongst [bundler-1.1.1, bundler-1.1.1, rake-0.9.2] (Gem::LoadError)
from /Library/Ruby/Site/1.8/rubygems/dependency.rb:256:in `to_spec'
from /Library/Ruby/Site/1.8/rubygems.rb:1208:in `gem'
from /usr/bin/rails:18
When I tried to create a new directory and resources I got the same answer:
MacBook-Air:~ fly$ rails new generalproj
/Library/Ruby/Site/1.8/rubygems/dependency.rb:247:in `to_specs': Could not find rails (>= 0) amongst [bundler-1.1.1, bundler-1.1.1, rake-0.9.2] (Gem::LoadError)
from /Library/Ruby/Site/1.8/rubygems/dependency.rb:256:in `to_spec'
from /Library/Ruby/Site/1.8/rubygems.rb:1208:in `gem'
from /usr/bin/rails:18
I've re-installed RVM, and Rails 1.9.3. Any ideas of what could be happening? Thanks!
-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home