my dog learned polymorphism*
The moose likes Ruby and the fly likes Path in environment files of Rails application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Languages » Ruby
Bookmark "Path in environment files of Rails application" Watch "Path in environment files of Rails application" New topic
Author

Path in environment files of Rails application

Vyas Sanzgiri
Ranch Hand

Joined: Jun 16, 2007
Posts: 686

I used RECAPTCHA and paperclip gems in my code. My dev environment is Windows but on server it is linux environment. So one impt difference is that paths are different in environment.rb, development.rb, production.rb.

Is there a way in Rails to keep this separate (to prevent from breaking) or I should not be touching production.rb on the server?

Currently, we have locked the SVN file on server so no one can commit production.rb


===Vyas Sanzgiri===
My Blog
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Path in environment files of Rails application