>>639
-sオプションがつかえる

$ cat hoge.rb
puts $data
$ ruby -s hoge.rb -data=10
10

でもスクリプト名が必要だから、-eだとつかえないかも