This project is archived and is in readonly mode.
[Invalid] Missing require: rubygems
-
Falk Pauser
fixed patch ;)
-
James
Use ruby railties/bin/rails --dev to build an app from the edge source.
-
Kieran P
- Tag changed from require_dependency to invalid, require_dependency
- Title changed from Missing require: rubygems to [Invalid] Missing require: rubygems
Rails doesn't include Rubygems anymore. It is assumed these are in your path. This enabled other package managers to work.
If you install gems of Rails 3, Rubygems adds a require of itself to the bin files, which fix this issue.
If you install Rails 3 from sources, you need to add -rubygems to all commands, e.g.
ruby -rubygems rails newapp
Or use James' suggestion, add --dev to the command, which will generate the app with rubygems required, and add a Gemfile pointing to the Rails repo you run the command from.
So nothing to fix here.
-
José Valim
- State changed from new to invalid
