From: Andrew Goifeld Date: 2008-09-19T23:10:25+09:00 Subject: Re: About circular dependencies in RubyGems (the library). And about the order in $". unknown wrote: > On 9 Aug, 11:52, Ryan Davis wrote: >> problematic. >> >> Also, are you sure you added "require 'rubygems'" at the top of your � >> app? It really should fix the issue. > > > I've tried with and without require 'rubygems' on top of hello.rb, > actually I've tried all possible combinations of theese 4 lines: > --- > require "rubygems" > # require "rubyscript2exe" > # exit if RUBYSCRIPT2EXE.is_compiling? > puts "hello world!" > --- > > "rubyscript2exe hello.rb" always gives me this: http://pastie.org/250556 > > (The remote_fetcher.rb:19: uninitialized constant Gem::Exception > (NameError) error) Hi guys, I am a newbie with ruby. I have an identical problem as described above and my output matches http://pastie.org/250556. Is there a workaround / fix ? Have I missed anything? I am just using helloworld.rb Much appreciated.. Andy. -- Posted via http://www.ruby-forum.com/.