Rvm and macruby 0.6

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/[email protected]
"
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/[email protected]
/bin:/Users/liruohao/.rvm/rubies/macruby-0.6/bin:$PATH"

exec “/Library/Frameworks/MacRuby.framework/Versions/0.6/usr/bin/macirb”
“”
[email protected]

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.

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