I can start the WEBrick web server fine. But, when I try to access http://0.0.0.0:3000, I get the follow:
[WEBrick] $ script/server => Booting WEBrick...
I can start the WEBrick web server fine. But, when I try to access http://0.0.0.0:3000, I get the follow:
[WEBrick] $ script/server => Booting WEBrick...
I am surprised to see anything in the webrick log. I would not expect 0.0.0.0:3000 to route at all. What happens if you try to point your web browser to http://localhost:3000 or http://127.0.0.1:3000? Same error?
Yes.
I've installed MySQL and MySQL Gem on my dev's box yesterday. But I don't believe that the problem is it.
Sorry my poor english.
1. Do you get friendlier messages when you use mongrel instead of webrick?
2. #<NoMethodError: You have a nil object when you didn't expect it! You might have expected an instance of Array. The error occurred while evaluating nil.each>
You have a bad loop somewhere. Usually something like this is happening: @product = Product.find(:all) @product.each do |product| puts product end
If you have no Products in the database you will get the error listed above.
3. usr/lib/ruby/gems/1.8/gems/rails-1.2.3.7116/lib/commands/servers/webrick.rb:53: undefined local variable or method `start_debugger' for main:Object (NameError)
The breakpointer is dead now. Use ruby-debug gem if you need to debug rails.
-Chuck Vose
As I am a Gentoo user, I must compile everything on my box. So, I must compile Ruby, Gems, Rails and everything else. My problem is that I forget to add suport to fcgi + mysql when compiling.
Sorry my mistake and thank you all for the time spend.
All (server side) is working now. There are some bugs in my application. I think that I can solve it by now. Thank you.