Hi!
I’m reading the ‘Agile Web D. with Rails’ book and I tried to
write the depot application. But almost at the beginning everything
goes wrong and my application doesn’t work. When I try to open
http://localhost:3000/admin with my Firefox, a blank site comes up. This
is the first mistake. And then the window of my WEBrick shows some
strange error - messages (see below). What’s wrong an what can I do to
fix this problem?
Thanks in advance ALEX
WEBrick - window:
[2006-03-01 14:31:14] INFO WEBrick 1.3.1
[2006-03-01 14:31:14] INFO ruby 1.8.3 (2005-06-23) [i486-linux]
[2006-03-01 14:31:14] INFO WEBrick::HTTPServer#start: pid=8236
port=3000
127.0.0.1 - - [01/Mar/2006:14:31:35 CET] “GET /admin HTTP/1.1” 200 0
- → /admin
[2006-03-01 14:31:36] ERROR MissingSourceFile: no such file to load –
irb
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:21:in
require__' /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:21:in
require’
/usr/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in
require' /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/breakpoint.rb:18 /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:207:in
load’
/usr/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:39:in
require_or_load' /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:22:in
depend_on’
/usr/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:178:in
require_dependency' /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:178:in
require_dependency’
/usr/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:194:in
const_missing' /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:77:in
reset_after_dispatch’
/usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:46:in
dispatch' /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:117:in
handle_dispatch’
/usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:83:in
service' /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in
service’
/usr/lib/ruby/1.8/webrick/httpserver.rb:65:inrun' /usr/lib/ruby/1.8/webrick/server.rb:172:in
start_thread’
/usr/lib/ruby/1.8/webrick/server.rb:161:instart' /usr/lib/ruby/1.8/webrick/server.rb:161:in
start_thread’
/usr/lib/ruby/1.8/webrick/server.rb:95:instart' /usr/lib/ruby/1.8/webrick/server.rb:92:in
each’
/usr/lib/ruby/1.8/webrick/server.rb:92:instart' /usr/lib/ruby/1.8/webrick/server.rb:82:in
start’
/usr/lib/ruby/1.8/webrick/server.rb:82:instart' /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:69:in
dispatch’
/usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/servers/webrick.rb:59
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:21:in
require' /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in
require’
/usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/server.rb:28
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:21:in
require' /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in
require’
script/server:3
127.0.0.1 - - [01/Mar/2006:14:31:36 CET] “GET /favicon.ico HTTP/1.1” 304
0 - → /favicon.ico