0

I've installed the thin gem for a rails app, but I'm unable to find a configuration file. Does installing the gem mean that I've installed the server? I just want to start Thin with a different port than 3000 and in production mode. The server is Windows. Any advice would be helpful.

Thanks.

Joe Essey
  • 3,457
  • 8
  • 40
  • 69

1 Answers1

0

Just specify it as such.

rails server -e production -p 4000

Source: http://guides.rubyonrails.org/command_line.html#rails-server

Andrew Wei
  • 2,020
  • 1
  • 17
  • 28
  • That works, but is there a way to embed those commands somewhere so it runs like that with a simple `rails server` command? – Joe Essey Apr 02 '13 at 13:18
  • http://stackoverflow.com/questions/3842818/how-to-change-rails-3-server-default-port-in-develoment – Andrew Wei Apr 02 '13 at 14:39