Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Ruby Build a Simple Ruby on Rails Application Creating an Authentication System Generating the Devise Views

Ruby on Rails Local Host

I have run the rails server command in the console but this is the output. Mathieus-MacBook-Pro:treebook mathieudelarue$ rails server => Booting WEBrick => Rails 3.2.6 application starting in development on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server [2015-04-19 15:51:37] INFO WEBrick 1.3.1 [2015-04-19 15:51:37] INFO ruby 2.0.0 (2013-11-22) [x86_64-darwin14.1.1] [2015-04-19 15:51:37] WARN TCPServer Error: Address already in use - bind(2) Exiting /Users/mathieudelarue/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/utils.rb:85:in initialize': Address already in use - bind(2) (Errno::EADDRINUSE) from /Users/mathieudelarue/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/utils.rb:85:innew' from /Users/mathieudelarue/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/utils.rb:85:in block in create_listeners' from /Users/mathieudelarue/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/utils.rb:82:ineach' from /Users/mathieudelarue/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/utils.rb:82:in create_listeners' from /Users/mathieudelarue/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:132:inlisten' from /Users/mathieudelarue/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:113:in initialize' from /Users/mathieudelarue/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:45:ininitialize' from /Users/mathieudelarue/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.4.1/lib/rack/handler/webrick.rb:10:in new' from /Users/mathieudelarue/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.4.1/lib/rack/handler/webrick.rb:10:inrun' from /Users/mathieudelarue/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/rack-1.4.1/lib/rack/server.rb:265:in start' from /Users/mathieudelarue/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/railties-3.2.6/lib/rails/commands/server.rb:70:instart' from /Users/mathieudelarue/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/railties-3.2.6/lib/rails/commands.rb:55:in block in <top (required)>' from /Users/mathieudelarue/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/railties-3.2.6/lib/rails/commands.rb:50:intap' from /Users/mathieudelarue/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/railties-3.2.6/lib/rails/commands.rb:50:in <top (required)>' from bin/rails:8:inrequire' from bin/rails:8:in `<main>'

When I go on localhost:3000 in my browser, it says no data received. Why is this happening?

1 Answer

Maciej Czuchnowski
Maciej Czuchnowski
36,441 Points

Try restarting your system. Seems like you're already running something on port 3000.

Ok thanks, it ran, but now it says "could not find table 'statuses'