Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Path in environment files of Rails application  RSS feed

 
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!