Can't start ruby with -S

e$B1sF#$H?=$7$^$9!#e(B

-S e$B%*%W%7%g%s$,$&$^$/F0$$$F$$$J$$$h$&$G$9!#e(B

$ cat /tmp/foo.rb
p 1

$ PATH=/tmp ./ruby -vS foo.rb
ruby 1.9.0 (2008-04-14 revision 16018) [i686-linux]
/home/mame/work/ruby19/local/lib/ruby/1.9.0/i686-linux/enc/trans/transdb.so:1:
Invalid char \x7F' in expression /home/mame/work/ruby19/local/lib/ruby/1.9.0/i686-linux/enc/trans/transdb.so:1: Invalid char\x01’ in expression
/home/mame/work/ruby19/local/lib/ruby/1.9.0/i686-linux/enc/trans/transdb.so:1:
Invalid char \x01' in expression /home/mame/work/ruby19/local/lib/ruby/1.9.0/i686-linux/enc/trans/transdb.so:1: Invalid char\x01’ in expression
/home/mame/work/ruby19/local/lib/ruby/1.9.0/i686-linux/enc/trans/transdb.so:1:
warning: useless use of a constant in void context
/home/mame/work/ruby19/local/lib/ruby/1.9.0/i686-linux/enc/trans/transdb.so:1:in
`’: uninitialized constant ELF (NameError)

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs