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.

Template runner gem method with :lib => false option gives incorrect output

#1940

When calling the gem method in an application template like this: gem "haml", :lib => false, what is added to config looks like this: gem 'haml', :lib => 'false'. The quotes around 'false' should not be there and produce errors. The correct output should look like this: gem 'haml', :lib => false.

Reported by Damian Terentiev · February 11th, 2009 @ 03:28 PM

State: resolved
Milestone: 2.x
Assigned to: Pratik Pratik
Importance: none

Activity

  1. Hector E. Gomez Morales
    Hector E. Gomez Morales

    I can confirm the bug. In my case I need to false flag for rspec.

    February 23rd, 2009 @ 03:02 AM

  2. Robby Russell
    Robby Russell

    +1

    Confirmed as well here. Same issue, need to set false flag for a few gems.

    February 24th, 2009 @ 04:48 AM

  3. Yann Lugrin
    Yann Lugrin
    • Tag changed from 2.3.0, gem, gem.config, template_runner to 2.3.0, gem, gem.config, patch, template_runner

    +1

    I can confirm this problem and the patch resolve it.

    March 12th, 2009 @ 12:58 PM

  4. Pratik
    Pratik
    • Assigned user set to Pratik
    • Title changed from [PATCH] Template runner gem method with :lib => false option gives incorrect output to Template runner gem method with :lib => false option gives incorrect output

    March 12th, 2009 @ 02:44 PM

  5. Repository
    Repository
    • State changed from new to resolved

    (from [8a17fd1a65ab8e2fa6b36d79603fde0e6ffd083f]) Fixed that template runner gem method to output :lib => false correctly [#1940 state:resolved]

    Signed-off-by: Pratik Naik pratiknaik@gmail.com http://github.com/rails/rails/co...

    March 12th, 2009 @ 02:48 PM