/ Published in: Rails

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
#!/usr/bin/env ruby unless $0 =~ /runner/ system("#{File.dirname(__FILE__)}/runner", __FILE__) exit 0 end puts 'your code goes here'
URL: http://bob.zoller.us/post/43855416/script-runner-script-that-doesnt-require-an-absolute
Comments
