Firebird News

Wednesday, June 16, 2010

rails on haiku os

install ruby 1.9 with haikuporter

haikuporter -i ruby

gem update --system
gem install rails

rails foobar

cd foobar

StyledEdit ./script/server

replace the first line with


=> Booting WEBrick
=> Rails 2.3.8 application starting on
=> Call with -d to detach
=> Ctrl-C to shutdown server
[2010-06-16 19:09:09] INFO WEBrick 1.3.1
[2010-06-16 19:09:09] INFO ruby 1.9.1 (2009-07-16) [i586-haiku]
[2010-06-16 19:09:09] INFO WEBrick::HTTPServer#start: pid=129249 port=3000

sqlite doesn't load of course

strace is very nice on haiku

try with strace ruby

1 comment:

Marcio said...

that's really cool. Vim + Rails is enought for most of time i'm using my computer :)