![]() |
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