Problems when i follow the tutorial

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

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.

so why?

i am very new to this world ,so maybe the problem is a little …
but really need your help,thanks in advance

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.

A> “Okay” is a word. Not “ok”, or an acronym.

B> If you are still at the tutorial level, skip lighttpd and just use
webrick:

script/server

That puts a simple server on 3000.

C> Oh, I get it! LigHTTPd!


Phlip
http://www.greencheese.us/ZeekLand <-- NOT a blog!!!

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 G.!)


Phlip
http://www.greencheese.us/ZeekLand <-- NOT a blog!!!

Bruce W. wrote:

if you startup irb from a terminal window and type

require ‘readline’

do you get the same error message?

when i input irb, the same response feedback.
thanks:)

Phlip wrote:

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.

A> “Okay” is a word. Not “ok”, or an acronym.

B> If you are still at the tutorial level, skip lighttpd and just use
webrick:

script/server

That puts a simple server on 3000.

C> Oh, I get it! LigHTTPd!


Phlip
http://www.greencheese.us/ZeekLand <-- NOT a blog!!!

thanks for your reply,really thankful,i wait for so long.
i have already tried webrick ,but when i tried to connect
0.0.0.3000/expenses,i still got the
followed message from terminal:
[2007-01-02 12:41:56] INFO WEBrick 1.3.1
[2007-01-02 12:41:56] INFO ruby 1.8.4 (2005-12-24)
[powerpc-darwin8.8.0]
[2007-01-02 12:41:56] INFO WEBrick::HTTPServer#start: pid=424 port=3000
127.0.0.1 - - [02/Jan/2007:12:42:06 CST] “GET / HTTP/1.1” 304 0

  • -> /
    127.0.0.1 - - [02/Jan/2007:12:42:07 CST] “GET /favicon.ico HTTP/1.1” 200
    0
  • -> /favicon.ico
    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

what does this mean?i am really confused.

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:inrequire’
from script/server:2

and rails is also aborted.what the hell…

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:inrequire’
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?

Phlip wrote:

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 G.!)


Phlip
http://www.greencheese.us/ZeekLand <-- NOT a blog!!!

it hits the point. I am on a mac ,when i use the command you provided
from the link"
http://groups.google.com/group/comp.lang.ruby/msg/1f5355c47c420a20"

ji-wen-jideibook-g4:~/tmp jiwen$ wget
ftp://ftp.ruby-lang.org/pub/ruby/ruby-1.8.5.tar.gz
-bash: wget: command not found
is wget is linux command ?what is it for in mac os ?
really thankful for your information,i find a new land
.googlegroups,owesome.

On Jan 2, 1:19 am, Wen Ji [email protected] wrote:

    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


Posted viahttp://www.ruby-forum.com/.


Ryan R.
http://raaum.org
http://rails.raaum.org – Rails docs
http://locomotive.raaum.org – Self contained Rails for Mac OS X