Search code examples
ruby-on-railsdeploymentproductionmod-rails

Is it ok to use different different OSes for production/development servers with Rails?


Say, I love Debian+mod_rails and run it on my laptop which is my development platform. Yet, I am deploying to a production server running Ubuntu+mod_rails.

Is it better in a long run if I install Ubuntu on my laptop or are the problems with deployment so miniscule I can go with whatever the hell I like on dev. machine?

Thanks.


Solution

  • The problems with deployment, especially between debian and ubuntu, are so miniscule you can go on without worrying about it.

    However, I wouldn't do it myself, because when that miniscule problem occurs, it's really hard to find and resolve. At minimum make sure you have a staging setup that is exactly the same as the production server and perform testing on that if you don't or can't make your development machine match.

    -Adam