From: Ruohao Li Date: 2010-09-07T15:33:02+09:00 Subject: rvm and macruby 0.6 --000e0cd515f44ece33048fa590e0 Content-Type: text/plain; charset=UTF-8 Hi, I installed macruby 0.6 through rvm, but irb gave the following error message: $ irb No such file or directory - open() failed (Errno::ENOENT) In fact, this irb program is a bash script, which exec macirb in the end: $ cat irb #!/usr/bin/env bash export GEM_HOME="/Users/liruohao/.rvm/gems/macruby-0.6" export GEM_PATH="/Users/liruohao/.rvm/gems/macruby-0.6:/Users/liruohao/.rvm/gems/macruby-0.6@global " export MY_RUBY_HOME="/Users/liruohao/.rvm/rubies/macruby-0.6" export PATH="/Users/liruohao/.rvm/gems/macruby-0.6/bin:/Users/liruohao/.rvm/gems/macruby-0.6@global /bin:/Users/liruohao/.rvm/rubies/macruby-0.6/bin:$PATH" exec "/Library/Frameworks/MacRuby.framework/Versions/0.6/usr/bin/macirb" "" "$@" And if I remove the second string (which is empty) from the exec arguments, irb seems go quite well. Is this a bug or something (I'm not a bash guy, and don't understand the exec statement with that empty string in the middle)? Thanks. --000e0cd515f44ece33048fa590e0--