This project is archived and is in readonly mode.
script/* does not run in windows when running an application template
Reported by Jens Kolind | February 3rd, 2009 @ 11:05 AM
There is reliance on #! to identity that script/* files should be run with ruby within template_runner.rb that mean these will not function under a windows environment.
A replacement file for template_runner.rb is attached
Comments and changes to this ticket
-
Jens Kolind February 3rd, 2009 @ 01:07 PM
- Tag changed from 2.3, template, template_runner, win32, windows to 2.3, patch, template, template_runner, win32, windows
Update to include a patch for template_runner
-
DHH February 5th, 2009 @ 07:21 PM
- Milestone cleared.
- Assigned user set to Pratik
-
Repository February 16th, 2009 @ 07:24 PM
- State changed from new to resolved
(from [2414fdb244cc0ba97620dd3f50e269d2e26c7392]) Ensure template_runner can run script/* ruby scripts under Windows. [#1859 state:resolved]
Signed-off-by: Pratik Naik pratiknaik@gmail.com http://github.com/rails/rails/co...
-
Umair Siddique February 16th, 2009 @ 11:19 PM
3 other methods as well.
rake capify! freeze!
capify and rake will need to be suffixed with .bat.
For example, right now, this is what I use to make it work on Windows.
rake 'asset:packager:create_yml' rescue run 'rake.bat asset:packager:create_yml' capify! rescue run 'capify.bat .'
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
- 1859 script/* does not run in windows when running an application template (from [2414fdb244cc0ba97620dd3f50e269d2e26c7392]) Ensure ...