qrush / sub

a delicious way to organize programs
http://37signals.com/svn/posts/3264-automating-with-convention-introducing-sub
MIT License
1.74k stars 148 forks source link

Creating executable ruby script with RBenv as the interpretter #25

Closed bradical closed 11 years ago

bradical commented 11 years ago

I've got RBenv installed to ~/.rbenv. What would I put at top of Ruby script to make it executable by RBenv?

Tried:

#!~/.rbenv/shims/ruby

to no avail.

mislav commented 11 years ago

This project can't offer you support for rbenv, as it was only extracted from rbenv but doesn't have anything else to do with rbenv.

That said, the shebang for your ruby scripts should be one of the following:

bradical commented 11 years ago

Thanks, that's great.