This project is archived and is in readonly mode.

Changeset [e609d83f1a7f49bf8a9549c480a67ee045950336] 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...

Committed by Jeff Schwab

  • M railties/lib/commands/plugin.rb

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>