I need some more help, I've never tested in production mode.

However after creating my production db, and running the rails server
is production I get a few errors

1) WeBrick claims port 3000 is already in use when it's not, not a big deal

=> Booting WEBrick
=> Rails 3.2.1 application starting in production on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
[2012-02-25 10:08:21] INFO  WEBrick 1.3.1
[2012-02-25 10:08:21] INFO  ruby 1.9.2 (2011-07-09) [x86_64-linux]
[2012-02-25 10:08:21] WARN  TCPServer Error: Address already in use - bind(2)
[2012-02-25 10:08:21] INFO  WEBrick::HTTPServer#start: pid=11666 port=2010

2) When I use port 2010 to view my website I get a directory listing?

Index of /

 Name                          Last modified         Size

 Parent Directory              2012/02/22 21:11      -
 .git/                         2012/02/23 23:25      -
 .gitignore                    2012/02/23 22:47      509
 Gemfile                       2012/02/21 19:02      846
 Gemfile.lock                  2012/02/21 19:02      2913
 README.rdoc                   2012/02/12 01:33      9208
 Rakefile                      2012/02/12 01:33      276
 app/                          2012/02/12 01:33      -
 config.ru                     2012/02/12 01:33      161
 config/                       2012/02/19 11:21      -
 db/                           2012/02/23 22:46      -
 doc/                          2012/02/24 09:29      -
 lib/                          2012/02/19 21:44      -
 log/                          2012/02/25 09:32      -
 public/                       2012/02/12 01:34      -
 script/                       2012/02/12 01:33      -
 test/                         2012/02/12 01:33      -
 tmp/                          2012/02/18 09:19      -
 vendor/                       2012/02/12 01:33      -

WEBrick/1.3.1 (Ruby/1.9.2/2011-07-09)
at localhost:2010

How do I get a production environment working in Rails 3

Thanks!

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to