This project is archived and is in readonly mode.
Rails Templates commands fail if used in JRuby only environments
Reported by Michael Johann | June 3rd, 2009 @ 03:14 PM | in 3.0.2
As shown during my session about Rails templates at RailsWayCon 2009. Environments that are JRuby only can have problems calling the right rake, gem etc. commands.
As discussed with Yehuda and "Koz" I open this ticket, apply the attached patch and hopefully everything is fine. :)
Comments and changes to this ticket
-
Michael Johann June 3rd, 2009 @ 07:34 PM
I found another issue and am also integrating support for mercurial. Pleas ignore the first patch as it will be substituted soon. Sorry, for the inconveinience.
-
Michael Johann June 4th, 2009 @ 08:49 AM
Finally I fixed it and tested it with git and mercurial and it works just like a charm.
-
Michael Koziarski June 10th, 2009 @ 04:37 AM
- Assigned user changed from Michael Koziarski to Yehuda Katz (wycats)
- Milestone cleared.
Can we have this with only the ruby_command changes? The hg stuff should be in another ticket
also, assigning to yehuda as he mentioned a nice way to figure out the 'current ruby command' when we were in berlin
-
Yehuda Katz June 10th, 2009 @ 07:27 AM
The easiest way to get the current Ruby, if gems are installed, is
Gem.ruby'.
-
Michael Johann June 10th, 2009 @ 08:35 AM
- no changes were found...
-
Michael Johann June 10th, 2009 @ 08:35 AM
- Tag changed from 2-3-stable, jruby to 3.0, jruby
I removed the mercurial stuff and will open a new ticket.
Attached is a patch that uses Yehuda's "Gem.ruby" call to get the current ruby command.
Works with jruby and ruby 1.9 on my machine. -
Yehuda Katz (wycats) February 24th, 2010 @ 06:53 AM
- State changed from new to resolved
All of this stuff was modified, and the basic logic for this stuff was moved into Thor (which has better code for running Ruby commands). Can you see if these problems still exist on master?
-
Jeremy Kemper October 15th, 2010 @ 11:01 PM
- Milestone set to 3.0.2
- Importance changed from to
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>