[MacRuby] #592: No such file to load -- ubygems (LoadError)
#592: No such file to load -- ubygems (LoadError) -------------------------------------+-------------------------------------- Reporter: lasse.koskela@… | Owner: lsansonetti@… Type: defect | Status: new Priority: minor | Milestone: MacRuby 0.5 Component: MacRuby | Keywords: LoadError -------------------------------------+-------------------------------------- After a fresh install of MacRuby 0.5 (the zipped-up installer .pkg), the macruby binary fails to load 'ubygems' when printing out the version, as shown below: $ /usr/local/bin/macruby -v[[BR]] MacRuby version 0.5 (ruby 1.9.0) [universal-darwin10.0, x86_64][[BR]] no such file to load -- ubygems (LoadError)[[BR]] $ On the other hand, the following does not emit the same error: $ /usr/local/bin/macruby -e 'puts "hello"'[[BR]] hello[[BR]] $ -- Ticket URL: <http://www.macruby.org/trac/ticket/592> MacRuby <http://macruby.org/>
#592: No such file to load -- ubygems (LoadError) -------------------------------------+-------------------------------------- Reporter: lasse.koskela@… | Owner: lsansonetti@… Type: defect | Status: new Priority: minor | Milestone: MacRuby 0.5 Component: MacRuby | Keywords: LoadError -------------------------------------+-------------------------------------- Comment(by lsansonetti@…): I suspect you happen to have a RUBYOPT environment variable set to "-rubygems". It looks like -v tries to interpret it while it should not. I'm therefore keeping this bug open. I would recommend to disable this variable when using MacRuby. Requiring rubygems has a significant runtime cost today, you probably do not want to load it every time. -- Ticket URL: <http://www.macruby.org/trac/ticket/592#comment:1> MacRuby <http://macruby.org/>
#592: No such file to load -- ubygems (LoadError) -------------------------------------+-------------------------------------- Reporter: lasse.koskela@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: minor | Milestone: MacRuby 0.7 Component: MacRuby | Resolution: fixed Keywords: LoadError | -------------------------------------+-------------------------------------- Changes (by martinlagardette@…): * status: new => closed * resolution: => fixed * milestone: MacRuby 0.5 => MacRuby 0.7 Comment: This is fixed with r4200: {{{ $> RUBYOPT="-rzzz" macruby -v MacRuby 0.7 (ruby 1.9.0) [universal-darwin10.0, x86_64] no such file to load -- zzz (LoadError) $> RUBYOPT="-rzzz" ./miniruby -v MacRuby 0.7 (ruby 1.9.2) [universal-darwin10.0, x86_64] }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/592#comment:2> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby