maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   http://maemo.rubyx.co.uk/ruby-maemo/ doesn't work (https://talk.maemo.org/showthread.php?t=14452)

twig 2008-01-05 18:22

http://maemo.rubyx.co.uk/ruby-maemo/ doesn't work
 
Do you know what is going on with ruby-maemo project?

realitygaps 2008-01-06 02:07

Re: http://maemo.rubyx.co.uk/ruby-maemo/ doesn't work
 
Anyone have copies of the ruby-maemo debs?

Khertan 2008-01-06 14:53

Re: http://maemo.rubyx.co.uk/ruby-maemo/ doesn't work
 
The hardware server crash ... and a solution is in progress...

jsgarvin 2008-01-11 02:44

Re: http://maemo.rubyx.co.uk/ruby-maemo/ doesn't work
 
4 days later and they still haven't managed to get the server back up??!?!? Or is there a new problem now? I just get a "File Not Found" error when I click the install link...

http://maemo.rubyx.co.uk/ruby-maemo/...-maemo.install

click170 2008-02-02 22:38

Re: http://maemo.rubyx.co.uk/ruby-maemo/ doesn't work
 
Does anyone know if there are any updates on the ruby-maemo project?

I'd really like to poke around with it but seems like the site is still dysFUNctional.

Still no word on anybody who has copies of the debs? I'd love to get ruby on this N810.

Thanks.

click170 2008-02-02 23:13

Re: http://maemo.rubyx.co.uk/ruby-maemo/ doesn't work
 
I don't know if anyone is still interested, but I got ruby on my Nokia N810, along with irb, with supreme simplicity I might add.

I was able to install ruby by wget the deb package from https://garage.maemo.org/projects/ruby185

wget gave me some message about SSL on my first try and suggested I try the option that does not check certificates, and that worked just fine.

Once Ruby was installed, I simply scp'd the irb script (Yes, it's just a simple, simple script) into the /usr/bin/ directory. I had to make one modification to the irb script in order to get it to work, but it's easy and is practically a gimme. At the top of the script is the she-bang, literally "#!" followed by a path to the ruby executable. I copied my irb script from a Debian server so it was pointing to /usr/bin/ruby1.8, which wasn't working because ruby on the N810 is /usr/bin/ruby. Guess what you have to change :P

Simply change #!/usr/bin/ruby1.8 or whatever yours says, to /usr/bin/ruby which is where that .deb package seems to install it's script to.

Then, as long as irb is executable, and it should be, then it will work. Happy Ruby-ing!

jags 2008-02-13 16:25

Re: http://maemo.rubyx.co.uk/ruby-maemo/ doesn't work
 
hey click i just found an updated ruby for
maemo os 2008 at

http://www.elkins.org/packages/binary/
*ruby-1.8.6.deb - Ruby programing language

i installed it in red pill mode and it got installed perfectly
with no errors

the irb didn't work
so i checked and the irb file was already there in
/usr/bin
it was pointing to /usr/local/bin/ruby
i modified it to point to /usr/bin/ruby(as on maemo)
saved it and set the file permissions to 777

but now when i execute irb command
i get this error

Nokia-N800-50-2:~# irb
/usr/bin/irb:10:in `require': no such file to load -- irb (LoadError)
from /usr/bin/irb:10
also tried from the installed directory
Nokia-N800-50-2:~# cd /usr/bin/
Nokia-N800-50-2:/usr/bin# irb
/usr/bin/irb:10:in `require': no such file to load -- irb (LoadError)
from /usr/bin/irb:10
Nokia-N800-50-2:/usr/bin#


can you help me

jags

jags 2008-02-14 04:40

Re: http://maemo.rubyx.co.uk/ruby-maemo/ doesn't work
 
click wrote
-[I did a `locate` on my Debian server for irb to try to find that require'd file and it looks like it may be hiding at /usr/lib/ruby/1.8/irb.rb]

jags:
i changed /usr/bin/irb file line 10 to
require "/usr/lib/ruby/1.8/irb"

i am now getting this
Nokia-N800-50-2:/usr/bin# irb
/usr/lib/ruby/1.8/irb.rb:12:in `require': no such file to load -- e2mmap (LoadError)
from /usr/lib/ruby/1.8/irb.rb:12
from /usr/bin/irb:11:in `require'
from /usr/bin/irb:11

so i guess it not finding the scripts which are there in
/usr/lib/ruby/1.8/irb folder
i feel this has to do something with path so that all files are found

thinking..............

click wrote
[Let me know if this helps you out, I'm interested to see this through. I didn't have this kind of problem but should I ever need to flash the device and reinstall ruby and irb I'd like to have the soluion to this problem in hand.]

jags:
About Flashing:
I had got the N800 with OS 2007 and flashed it to OS2008 on the very first day.but i feel its not about flashing
U can try to get this by installing the latest ruby deb
for armel(maemo 2008).
and about irb i dont think u need to install it as it is installed along with the ruby.
i had all the files required irb files in the n800 after
installtion of ruby1.8.6.deb(2.9 mb)

the problem seems to be only with irb which is not working due to path issues

i am also determined to get this done so pls try and take this further to solve it

Spakman 2008-02-16 19:08

Re: http://maemo.rubyx.co.uk/ruby-maemo/ doesn't work
 
I'm currently hosting the ruby, ruby-maemo, ruby-sqlite3 .debs in my repository along with some gems stuff.

http://code.scottishclimbs.com/maemo/

bob810 2008-02-16 22:43

Re: http://maemo.rubyx.co.uk/ruby-maemo/ doesn't work
 
Spakman, thanks a lot, I've already found your useful site the day before yesterday. From:
http://code.scottishclimbs.com/maemo.../binary-armel/
I took:
libruby1.8_1.8.6-p110-1_maemo4_armel.deb
ruby1.8_1.8.6-p110-1_maemo4_armel.deb
ruby1.8-maemo_0.4.0_maemo4_armel.deb
and all worked perfectly. By chance, I had a copy of:
irb1.8_1.8.6-p110-1_maemo4_all.deb
and added a ruby console without any problems. Spakman, can I e-mail you this small file or upload it anywhere for the others ?
The big pro of Tom Swindell's ruby port are the great hildon bindings. It's a pity that he does not manage to get his site up again after all this good work!

Bob.


All times are GMT. The time now is 16:13.

vBulletin® Version 3.8.8