On 9 Aug, 11:52, Ryan Davis <ryand-r...@zenspider.com> wrote:
> On Aug 8, 2008, at 19:18 , ippa...@gmail.com wrote:
>
> > This doesn't work on *my XP machine with newest oneclick rubyinstall
> > and rubygems 1.2 (same Gem::Exception error as usual)
> > I've tried with both rubyscript2exe and rubyscript2exe.rb. Do you have
> > any other workaround ideas until something is made about rubygems?
>
> While there IS a fix that we can add to a file in rubygems, I think it *
> is necessary to point out that rubyscript2exe is going to have these *
> problems again and again. Depending on $LOADED_FEATURES is going to be *
> 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)