Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Path in environment files of Rails application

 
Vyas Sanzgiri
Ranch Hand
Posts: 686
Chrome Netbeans IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic