Michal Papis
Michal Papis
are you using version manager like rvm or chruby?
@postmodern / @havenwood given https://github.com/jish/pre-commit/blob/master/templates/hooks/automatic I assume the command would be ~ `sh -c ruby -rrubygems -rpre-commit -e "PreCommit.run"` - **question:** how to identify which ruby would be run and...
as discussed in irc `sh -l` is out of question as it would slow down every commit, maybe new template could be an option where the auto-switching is loaded and...
what would be the flow for chruby to do that?
assuming there was a system ruby, this is complicated, is there a "default" ruby in chruby like it is in RVM?
this sounds like nightmare, maybe we could promote an description/wiki that shows what to do, maybe selecting one ruby and setting it in `git config --global pre-commit.ruby="chruby..."`?
assuming there is a system ruby, I know it's really common this days, but still not a base requirement for a linux system
oh, I missed to update readme, there is now easy way to create external plugins => https://github.com/jish/pre-commit/blob/master/lib/pre-commit/cli.rb#L31 - maybe try to make it an external plugin and we can add...
I'm all in (RVM).
@djezzzl please take care of it, I'm busy as usual ;) @pirj thanks, that's another use case I haven't thought of I would distinct at least those use cases: -...