aspose file tools*
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
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Path in environment files of Rails application