Active Topics

 


Reply
Thread Tools
Posts: 8 | Thanked: 0 times | Joined on May 2007
#11
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!
 
Posts: 21 | Thanked: 0 times | Joined on Feb 2007
#12
got all my Ruby/Rails books on the N800
I have bought most of mine as PDFs from Oreilly and PragProg, too. I love reading about feature X and then hopping right over to irb to try it out... while I am in the back yard with my dogs. Now we can hack on Rails. I love it.
 
Posts: 107 | Thanked: 4 times | Joined on Apr 2007
#13
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.
 
djasmith's Avatar
Posts: 36 | Thanked: 2 times | Joined on May 2007 @ Gillingham, UK
#14
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
 
Posts: 1 | Thanked: 1 time | Joined on Jul 2007
#15
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/
 

The Following User Says Thank You to garethr For This Useful Post:
Posts: 30 | Thanked: 2 times | Joined on Jul 2007
#16
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/

Last edited by ifallacy; 2007-07-17 at 16:43.
 

The Following User Says Thank You to ifallacy For This Useful Post:
Posts: 4 | Thanked: 1 time | Joined on Feb 2008
#17
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
 

The Following User Says Thank You to jags For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 18:39.