![]() |
Trouble installing Ruby
I am trying to install Ruby on the n800, but I am in dependency-hell. I added the repo listed on the 2006Wip, but the package is requiring libgdbm and libreadline4. Libreadline5 is installed, but Ruby still requires v4. Does anyone know where I can get these libs?
~Nate |
Re: Trouble installing Ruby
So nobody knows where I can find libgdbm then?
|
Re: Trouble installing Ruby
whoa, you can actually program ruby on the n800....now that is cool.
|
Re: Trouble installing Ruby
|
Re: Trouble installing Ruby
now this would be crazy....wouold it be possible to run mysql, rails, and webbrick?
|
Re: Trouble installing Ruby
Irb works, but I haven't been able to get gems installed. I keep getting an out of memory error. Strange because the internal memory is less than half full and I have the entire mini SD card (included in package) for swap. So long story short, no gems (rails, nitro, etc.).
You could conceivably use SQLite and nginx (sp?) to serve rails apps... if gems worked. ~Nate |
Re: Trouble installing Ruby
FYI, there is a Google SoC project to build Ruby bindings for Maemo. Then Pythonistas won't be the only ones writing apps for Maemo. :^)
|
Re: Trouble installing Ruby
|
Re: Trouble installing Ruby
You realize that you have now obligated yourself to the task of writing up a tutorial, don't you? Are you using nginx? Which version of SQLite? Seriously, you have to tell us how you got all this working together.
|
Re: Trouble installing Ruby
hi nathan.
thats not my account, im currently working on getting rails installed. i think the author of the flickr account said he is using webbrick. ive gotten ruby, ruby gems, and sqlite installed. all you have to do is go to http://pierre.droids-corp.org/maemo/gems/ and click the links and they install. however, i am running into a problem installing rails. getting a mysterious segmentation fault on yaml.rb:133. been googleing around and it could be a user access problem, however, it seems i am still getting it. i am posting my progress on my blog at railsgrunt.com if you find out, please let me know. thanks! |
Re: Trouble installing Ruby
Wow this would be great to have. I have been coding Rails lately and I am actually using N800 as a beefed up eBook reader :P got all my Ruby/Rails books on the N800. So developing Rails on it would be even better!
|
Re: Trouble installing Ruby
Quote:
|
Re: Trouble installing Ruby
well guys get to work and find out how to get rails + webbrick up and running!
still stuck here, i opened the yaml file to see any fishy whitespaces but no luck. i also ssh'd into the n800 and tried gen install rails via root, but the device crashes. |
Re: Trouble installing Ruby
Greetings
I kinda like the idea of dabbling with some RoR on my N800 so I downloaded ruby, gems and sqlite and installed them. I then started the process of updating gems using gem update --system via ssh on the n800 and it starts does a little beginning bulk update and then crashes and restarts my device? I tried running the update from my mac via ssh and get the same results? Anyone else experiencing this sort of issue? thanks in advance Dave |
Re: Trouble installing Ruby
Hi All
I'd run into the same problem described here and managed to find a workaround. The problem, I think, is with Gem trying to download either the list of available packages or the gems themselves. If you do this step and then install the gems locally everything works fine. I've written it up, along with a couple of other points on my blog: http://morethanseven.net/posts/ruby-...on-nokia-n800/ |
Re: Trouble installing Ruby
for the gem installation, don't use the --update flag, just do it manually
go to: http://pierre.droids-corp.org/maemo/gems/ and download all your gems, then run: gem install activesupport-1.4.1.gem --no-rdoc --no-ri && gem install activerecord-1.15.2.gem --no-rdoc --no-ri && gem install actionpack-1.13.2.gem --no-rdoc --no-ri && gem install actionmailer-1.3.2.gem --no-rdoc --no-ri && gem install actionwebservice-1.2.2.gem --no-rdoc --no-ri && gem install rake-0.7.1.gem --no-rdoc --no-ri && gem install rails-1.2.2.gem --no-rdoc --no-ri ^that all should be in one line, just copy paste to xterm or ssh and run it in the directory that you saved your gems to - basically it will install the gems just without the documentation (which you probably don't read anyways) that's what i did to install ruby on rails and i got several apps working (namely, tracks) EDIT: more tutorials: http://www.digitalknk.com/2007/05/27...ur-nokia-n800/ |
Re: Trouble installing Ruby
hey guys u can install ruby 1.8.6 on maemo os 2008 from
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 ruby -v works perfectly also i was able to compile code but the irb is not working the irb file is installed 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 anyboby take this further jags |
| All times are GMT. The time now is 09:51. |
vBulletin® Version 3.8.8