This project is archived and is in readonly mode.
Changeset [e609d83f1a7f49bf8a9549c480a67ee045950336] by Jeff Schwab
Revision e609d83f1a7f49bf8a9549c480a67ee045950336,
committed by Jeff Schwab
· March 10th, 2009 @ 06:37 PM
Fixed an incompatibility with Ruby 1.9.
Ruby 1.8 strings are Enumerable, but there is no String#lines method. In Ruby 1.9, the situation is reversed. To work around this disparity, the RailsEnvironment#externals method now explicitly checks whether a String responds_to? :lines.
[#2130 state:committed]
Signed-off-by: Jeremy Kemper jeremy@bitsweat.net http://github.com/rails/rails/co...
1 changed file
-
M
railties/lib/commands/plugin.rb