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.

Spakman 2008-02-16 22:52

Re: http://maemo.rubyx.co.uk/ruby-maemo/ doesn't work
 
Hi Bob,

Glad you found the files of some use.

Quote:

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 ?
Feel free to mail me the file, I'll be happy to host it in my repository. IRB will be a nice addition.

Quote:

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!
Yep, I think the Hildon bindings are great too. Tom's done some really good work on them.

Mark

realitygaps 2008-02-17 08:08

Re: http://maemo.rubyx.co.uk/ruby-maemo/ doesn't work
 
I have these files on my repository and a couple of other ruby bindings that I think were downloaded from maemo.rubyx.co.uk before it went down..

Repository details - address: http://gplsystems.com/apt - components: main

There are ruby1.8-xml and ruby1.8-sdl that I didnt see hosted anywhere else, maybe someone will find those useful.

http://gplsystems.com/apt/pool/main/....1-1_armel.deb
http://gplsystems.com/apt/pool/main/....0-1_armel.deb

jags 2008-02-19 13:23

Re: http://maemo.rubyx.co.uk/ruby-maemo/ doesn't work
 
Thanks Spakman now i can play with ruby on my n800...good work
guys just download
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
irb1.8_1.8.6-p110-1_maemo4_all.deb

and install it in the sequence above
you will have ruby and irb working perfectly on maemo os 2008

thanks again mr Spakman
jags

ArnimS 2008-03-07 11:31

Re: http://maemo.rubyx.co.uk/ruby-maemo/ doesn't work
 
Yet another ruby-maemo backup site and link to other ruby sites.

http://pupnik.de/ruby.htm

"You can't stop the signal, Mal"l

tagazok 2008-04-02 19:08

Re: http://maemo.rubyx.co.uk/ruby-maemo/ doesn't work
 
I installed ruby1.8.6
http://www.elkins.org/packages/binary/

but, when I want to run my application I have :
ruby rs_server.rb
Error: no such file to load -- socket

Where is the problem?

Spakman 2008-04-03 09:51

Re: http://maemo.rubyx.co.uk/ruby-maemo/ doesn't work
 
Socket seems OK for me using the package from my own repository:

~ $ irb
irb(main):001:0> require 'socket'
=> true

tagazok 2008-04-06 16:34

Re: http://maemo.rubyx.co.uk/ruby-maemo/ doesn't work
 
yeah cool it works :D
But, I have another problem :s
Error: no such file to load -- readline
I didn't find on the forum if a package of libreadline-ruby exits :s

click170 2008-10-12 01:19

Re: http://maemo.rubyx.co.uk/ruby-maemo/ doesn't work
 
Thanks Sparkman for maintaining your repo and for the packages.

I installed them in the order Jags posted (also, thanks Jags) and it works just like that, with the exception of readline.

I've found a website which has vague-ish instructions on getting readline working with ruby. It says to compile nearly everything on the device, but if it works it works. I have yet to try it out myself but I'm thinking I'm going to have to, since I've just recently flashed the thing anyway I dont have much to lose.

http://www.kdedevelopers.org/node/3623


All times are GMT. The time now is 17:53.

vBulletin® Version 3.8.8