Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

[PATCH] Generator 'gem' command doesn't accept versions

#3901

In master, the gem command of generators will append to the Gemfile an unescaped version string. For example, with this command:

gem 'rspec', '>=2.0.0.a5'

The Gemfile will look like so at the end:

gem "rspec", >=2.0.0.a5

The attached patch fixes this behavior and adds tests both for the version escaping as well as testing to make sure each gem gets its own line.

Reported by Michael Bleigh · February 8th, 2010 @ 08:03 PM

State: resolved
Milestone: none
Assigned to: nobody
Importance: none