From: "juan pedro meriƱo" Date: 2007-06-26T23:04:23+09:00 Subject: Re: when i using "rubyscript2exe", occur error ------=_Part_22090_23514684.1182866664581 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Do you have windows xp or vista? 2007/6/26, Erik Veenstra : > > > When i using the "rubyscript2exe", there occur error. Because > > i cannot use any picture in the project. How can i put > > picture in my project that no error after built the .exe > > file??? > > Which error? > > If you want to embed images and other files, see the example > below, and read the documentation on the site. > > gegroet, > Erik V. - http://www.erikveen.dds.nl/ > > ---------------------------------------------------------------- > > # Example on Cygwin: > > $ ls -l hw/ > total 2 > -rw-r--r-- 1 erik mkgroup-l-d 13 Jun 26 14:58 README > -rw-r--r-- 1 erik mkgroup-l-d 161 Jun 26 15:19 init.rb > > $ cat hw/init.rb > require "rubyscript2exe" > exit if RUBYSCRIPT2EXE.is_compiling? > puts File.read(RUBYSCRIPT2EXE.appdir("README")) > > $ ruby rubyscript2exe.rb hw/ > Tracing hw ... > Gathering files... > Copying files... > Creating hw.exe ... > > $ ./hw.exe > Hello World! > > ---------------------------------------------------------------- > > > --=20 Juan Pedro Meri=F1o Diaz Ing de Sistema CURN ------=_Part_22090_23514684.1182866664581--