H
hammer995
Sorry if this has been posted already,
I am using the FC4 with the lastest yum update. If I use the ruby in
/usr/bin/ruby I get the following error while trying to do the simple
hello world example in the Agile web dev on rails book. I compiled my
own version of ruby and that works correctly. Is there a fix for this.
I searched but didn't see anything specific. I did a gem install
rails -y to install everything. I tried on two different installations
of FC4 with the same result. Thanks...
$ /usr/bin/ruby script/server
=> Rails application started on http://0.0.0.0:3000
=> Ctrl-C to shutdown server; call with --help for options
[2005-08-22 01:14:58] INFO WEBrick 1.3.1
[2005-08-22 01:14:58] INFO ruby 1.8.2 (2004-12-25) [i386-linux]
[2005-08-22 01:14:58] INFO WEBrick::HTTPServer#start: pid=3762
port=3000
192.168.44.1 - - [22/Aug/2005:01:15:11 EDT] "GET / HTTP/1.1" 200 3156
- -> /
192.168.44.1 - - [22/Aug/2005:01:15:12 EDT] "GET /favicon.ico HTTP/1.1"
200 0
- -> /favicon.ico
#<NameError: uninitialized constant Breakpoint>
["/usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support/dependencies.rb:186:in
`const_missing'",
"/usr/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/dispatcher.rb:56:in
`reset_after_dispatch'",
"/usr/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/dispatcher.rb:36:in
`dispatch'",
"/usr/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/webrick_server.rb:105:in
`handle_dispatch'",
"/usr/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/webrick_server.rb:71:in
`service'", "/usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'",
"/usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'",
"/usr/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'",
"/usr/lib/ruby/1.8/webrick/server.rb:144:in `start'",
"/usr/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'",
"/usr/lib/ruby/1.8/webrick/server.rb:94:in `start'",
"/usr/lib/ruby/1.8/webrick/server.rb:89:in `each'",
"/usr/lib/ruby/1.8/webrick/server.rb:89:in `start'",
"/usr/lib/ruby/1.8/webrick/server.rb:79:in `start'",
"/usr/lib/ruby/1.8/webrick/server.rb:79:in `start'",
"/usr/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/webrick_server.rb:57:in
`dispatch'", "script/server:49"]
[2005-08-22 01:15:17] ERROR `/say/hello' not found.
192.168.44.1 - - [22/Aug/2005:01:15:17 EDT] "GET /say/hello HTTP/1.1"
404 278
I am using the FC4 with the lastest yum update. If I use the ruby in
/usr/bin/ruby I get the following error while trying to do the simple
hello world example in the Agile web dev on rails book. I compiled my
own version of ruby and that works correctly. Is there a fix for this.
I searched but didn't see anything specific. I did a gem install
rails -y to install everything. I tried on two different installations
of FC4 with the same result. Thanks...
$ /usr/bin/ruby script/server
=> Rails application started on http://0.0.0.0:3000
=> Ctrl-C to shutdown server; call with --help for options
[2005-08-22 01:14:58] INFO WEBrick 1.3.1
[2005-08-22 01:14:58] INFO ruby 1.8.2 (2004-12-25) [i386-linux]
[2005-08-22 01:14:58] INFO WEBrick::HTTPServer#start: pid=3762
port=3000
192.168.44.1 - - [22/Aug/2005:01:15:11 EDT] "GET / HTTP/1.1" 200 3156
- -> /
192.168.44.1 - - [22/Aug/2005:01:15:12 EDT] "GET /favicon.ico HTTP/1.1"
200 0
- -> /favicon.ico
#<NameError: uninitialized constant Breakpoint>
["/usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support/dependencies.rb:186:in
`const_missing'",
"/usr/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/dispatcher.rb:56:in
`reset_after_dispatch'",
"/usr/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/dispatcher.rb:36:in
`dispatch'",
"/usr/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/webrick_server.rb:105:in
`handle_dispatch'",
"/usr/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/webrick_server.rb:71:in
`service'", "/usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'",
"/usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'",
"/usr/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'",
"/usr/lib/ruby/1.8/webrick/server.rb:144:in `start'",
"/usr/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'",
"/usr/lib/ruby/1.8/webrick/server.rb:94:in `start'",
"/usr/lib/ruby/1.8/webrick/server.rb:89:in `each'",
"/usr/lib/ruby/1.8/webrick/server.rb:89:in `start'",
"/usr/lib/ruby/1.8/webrick/server.rb:79:in `start'",
"/usr/lib/ruby/1.8/webrick/server.rb:79:in `start'",
"/usr/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/webrick_server.rb:57:in
`dispatch'", "script/server:49"]
[2005-08-22 01:15:17] ERROR `/say/hello' not found.
192.168.44.1 - - [22/Aug/2005:01:15:17 EDT] "GET /say/hello HTTP/1.1"
404 278