problems when i follow the tutorial

Wen Ji wrote:

when I try to connect 0.0.0.3000/expenses lighttpd show me this message, why?i have followed every step as the apple official tutorial does.

and 0.0.0.3000/ 's connection is ok.

"Okay" is a word. Not "ok", or an acronym.

If you are still at the tutorial level, skip lighttpd and just use

webrick:

    script/server

That puts a simple server on 3000.

if you startup irb from a terminal window and type

require 'readline'

do you get the same error message?

Wen Ji wrote:

dyld: NSLinkModule() error dyld: Symbol not found: _rl_filename_completion_function Referenced from: /usr/local/lib/ruby/1.8/powerpc-darwin8.8.0/readline.bundle Expected in: flat namespace

Trace/BPT trap

http://groups.google.com/group/comp.lang.ruby/msg/1f5355c47c420a20

Always whomp an error message, no matter how bizarre, with Google first. (And always re-search on Google Groups!)

Wen Ji wrote: > new problem araised . > when i upgrade to ruby1-8-5 as the >http://groups.google.com/group/comp.lang.ruby/msg/1f5355c47c420a20" > suggests,i encouter a new problem.. > ji-wen-jideibook-g4:~/expenses jiwen$ script/server webrick > ./script/../config/boot.rb:18:in `require': no such file to load -- > rubygems (LoadError) > from ./script/../config/boot.rb:18 > from script/server:2:in `require' > from script/server:2

> and rails is also aborted.what the hell...is that when i upgrade to ruby1-8-5,all the lighttpd and rails and fastcgi are gone?all the gems are gone? i need to reinstall them?or they are hiding somewhere else?need some work to make them work again?

Installing a new version of ruby over an old will wipe all your gems (rails, database drivers, etc), so you'll need to replace them. Your other programs: lighttpd, etc will still be fine.

Best,

-r