This project is archived and is in readonly mode.

Template runner gem method with :lib => false option gives incorrect output
Reported by Damian Terentiev | February 11th, 2009 @ 03:28 PM | in 2.x
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.
Comments and changes to this ticket
- 
            
         Hector E. Gomez Morales February 23rd, 2009 @ 03:02 AMI can confirm the bug. In my case I need to false flag for rspec. 
- 
            
         Robby Russell February 24th, 2009 @ 04:48 AM+1 Confirmed as well here. Same issue, need to set false flag for a few gems. 
- 
            
         Yann Lugrin March 12th, 2009 @ 12:58 PM- 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. 
- 
         Pratik March 12th, 2009 @ 02:44 PM- 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
 
- 
         Repository March 12th, 2009 @ 02:48 PM- 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... 
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>
People watching this ticket
Attachments
Referenced by
- 
         1940 
          Template runner gem method with :lib => false option gives incorrect output
        (from [8a17fd1a65ab8e2fa6b36d79603fde0e6ffd083f]) Fixed t... 1940 
          Template runner gem method with :lib => false option gives incorrect output
        (from [8a17fd1a65ab8e2fa6b36d79603fde0e6ffd083f]) Fixed t...
 Damian Terentiev
      Damian Terentiev
 Pratik
      Pratik