This project is archived and is in readonly mode.
Rails Templates commands fail if used in JRuby only environments
-
Michael Johann
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
Finally I fixed it and tested it with git and mercurial and it works just like a charm.
-
Michael Koziarski
- 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
The easiest way to get the current Ruby, if gems are installed, is
Gem.ruby'. -
Michael Johann
- 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)
- 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?
