K
Kingsley Hendrickse
This is a multipart message in MIME format.
--=_alternative 00542BEA80256D59_=
Content-Type: text/plain; charset="us-ascii"
Hi
I have been trying to make exerb work - I must be tired today because I
just don't get it !
I went here and downloaded the windows version of exerb :
http://exerb.sourceforge.jp/index.en.html
The documentation is extremely poor with the faq seeming more interested
in explaining how to pronounce the name rather than
how to make it work.
From what i can see - I have to make a recepie file from my file.rb ??
then import that using the tool, which will make me a file.exe.
So how do I make a recepie file and what is one !! I followed the line :
$ ruby -r exerb/mkrbc foo.rb
which on my windows box was : ruby -r exerb/mkrbc c:/ip.rb
the reply : ruby:No such file to load -- exerb/mkrbc (LoadError)
I ran the command just from my cmd in the c: directory - I even copied the
exerb folder that was created when i unzipped into c:/ruby/lib
no joy.
here's the file I am trying to make an .exe out of :
________________
class Test
def ipfind
a = `ipconfig`
a =~ /\d\d\d\.\d\d\.\d\d\d\.\d\d/
ip = $~
return ip
end
end
i = Test.new.ipfind
puts i
_______________
Any clue how this works?
Thanks
Kingsley
--=_alternative 00542BEA80256D59_=
Content-Type: text/html; charset="us-ascii"
<br><font size=2 face="sans-serif">Hi</font>
<br>
<br><font size=2 face="sans-serif">I have been trying to make exerb work - I must be tired today because I just don't get it !</font>
<br>
<br><font size=2 face="sans-serif">I went here and downloaded the windows version of exerb : http://exerb.sourceforge.jp/index.en.html</font>
<br>
<br><font size=2 face="sans-serif">The documentation is extremely poor with the faq seeming more interested in explaining how to pronounce the name rather than</font>
<br><font size=2 face="sans-serif">how to make it work.</font>
<br>
<br><font size=2 face="sans-serif">From what i can see - I have to make a recepie file from my file.rb ?? then import that using the tool, which will make me a file.exe.</font>
<br>
<br><font size=2 face="sans-serif">So how do I make a recepie file and what is one !! I followed the line :</font>
<br>
<br><font size=3 color=#333333 face="Courier New">$ ruby -r exerb/mkrbc foo.rb</font>
<br>
<br><font size=2 face="sans-serif">which on my windows box was : ruby -r exerb/mkrbc c:/ip.rb</font>
<br>
<br><font size=2 face="sans-serif">the reply : ruby:No such file to load -- exerb/mkrbc (LoadError)</font>
<br>
<br><font size=2 face="sans-serif">I ran the command just from my cmd in the c: directory - I even copied the exerb folder that was created when i unzipped into c:/ruby/lib</font>
<br><font size=2 face="sans-serif">no joy.</font>
<br>
<br><font size=2 face="sans-serif">here's the file I am trying to make an .exe out of :</font>
<br>
<br><font size=2 face="sans-serif">________________</font>
<br><font size=2 face="sans-serif">class Test</font>
<br><font size=2 face="sans-serif"> def ipfind</font>
<br><font size=2 face="sans-serif"> a = `ipconfig`</font>
<br><font size=2 face="sans-serif"> a =~ /\d\d\d\.\d\d\.\d\d\d\.\d\d/</font>
<br><font size=2 face="sans-serif"> ip = $~</font>
<br><font size=2 face="sans-serif"> return ip</font>
<br><font size=2 face="sans-serif"> end</font>
<br><font size=2 face="sans-serif">end</font>
<br><font size=2 face="sans-serif">i = Test.new.ipfind</font>
<br><font size=2 face="sans-serif">puts i</font>
<br><font size=2 face="sans-serif">_______________</font>
<br>
<br><font size=2 face="sans-serif">Any clue how this works?</font>
<br>
<br><font size=2 face="sans-serif">Thanks</font>
<br>
<br><font size=2 face="sans-serif">Kingsley</font>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
--=_alternative 00542BEA80256D59_=--
--=_alternative 00542BEA80256D59_=
Content-Type: text/plain; charset="us-ascii"
Hi
I have been trying to make exerb work - I must be tired today because I
just don't get it !
I went here and downloaded the windows version of exerb :
http://exerb.sourceforge.jp/index.en.html
The documentation is extremely poor with the faq seeming more interested
in explaining how to pronounce the name rather than
how to make it work.
From what i can see - I have to make a recepie file from my file.rb ??
then import that using the tool, which will make me a file.exe.
So how do I make a recepie file and what is one !! I followed the line :
$ ruby -r exerb/mkrbc foo.rb
which on my windows box was : ruby -r exerb/mkrbc c:/ip.rb
the reply : ruby:No such file to load -- exerb/mkrbc (LoadError)
I ran the command just from my cmd in the c: directory - I even copied the
exerb folder that was created when i unzipped into c:/ruby/lib
no joy.
here's the file I am trying to make an .exe out of :
________________
class Test
def ipfind
a = `ipconfig`
a =~ /\d\d\d\.\d\d\.\d\d\d\.\d\d/
ip = $~
return ip
end
end
i = Test.new.ipfind
puts i
_______________
Any clue how this works?
Thanks
Kingsley
--=_alternative 00542BEA80256D59_=
Content-Type: text/html; charset="us-ascii"
<br><font size=2 face="sans-serif">Hi</font>
<br>
<br><font size=2 face="sans-serif">I have been trying to make exerb work - I must be tired today because I just don't get it !</font>
<br>
<br><font size=2 face="sans-serif">I went here and downloaded the windows version of exerb : http://exerb.sourceforge.jp/index.en.html</font>
<br>
<br><font size=2 face="sans-serif">The documentation is extremely poor with the faq seeming more interested in explaining how to pronounce the name rather than</font>
<br><font size=2 face="sans-serif">how to make it work.</font>
<br>
<br><font size=2 face="sans-serif">From what i can see - I have to make a recepie file from my file.rb ?? then import that using the tool, which will make me a file.exe.</font>
<br>
<br><font size=2 face="sans-serif">So how do I make a recepie file and what is one !! I followed the line :</font>
<br>
<br><font size=3 color=#333333 face="Courier New">$ ruby -r exerb/mkrbc foo.rb</font>
<br>
<br><font size=2 face="sans-serif">which on my windows box was : ruby -r exerb/mkrbc c:/ip.rb</font>
<br>
<br><font size=2 face="sans-serif">the reply : ruby:No such file to load -- exerb/mkrbc (LoadError)</font>
<br>
<br><font size=2 face="sans-serif">I ran the command just from my cmd in the c: directory - I even copied the exerb folder that was created when i unzipped into c:/ruby/lib</font>
<br><font size=2 face="sans-serif">no joy.</font>
<br>
<br><font size=2 face="sans-serif">here's the file I am trying to make an .exe out of :</font>
<br>
<br><font size=2 face="sans-serif">________________</font>
<br><font size=2 face="sans-serif">class Test</font>
<br><font size=2 face="sans-serif"> def ipfind</font>
<br><font size=2 face="sans-serif"> a = `ipconfig`</font>
<br><font size=2 face="sans-serif"> a =~ /\d\d\d\.\d\d\.\d\d\d\.\d\d/</font>
<br><font size=2 face="sans-serif"> ip = $~</font>
<br><font size=2 face="sans-serif"> return ip</font>
<br><font size=2 face="sans-serif"> end</font>
<br><font size=2 face="sans-serif">end</font>
<br><font size=2 face="sans-serif">i = Test.new.ipfind</font>
<br><font size=2 face="sans-serif">puts i</font>
<br><font size=2 face="sans-serif">_______________</font>
<br>
<br><font size=2 face="sans-serif">Any clue how this works?</font>
<br>
<br><font size=2 face="sans-serif">Thanks</font>
<br>
<br><font size=2 face="sans-serif">Kingsley</font>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
--=_alternative 00542BEA80256D59_=--