[英]How to work with multiple ruby on rails applications on heroku
I want to run two rails apps which have rails version 3.1.10, 4.0.2 & ruby 1.9.2, 2.1.0. 我想运行两个具有Rails版本3.1.10、4.0.2和ruby 1.9.2、2.1.0的Rails应用程序。 Is it possible to do this using Heroku?
是否可以使用Heroku做到这一点?
As long as you specify the ruby and rails version in your Gemfiles, heroku will take care of it for you. 只要您在Gemfile中指定ruby和rails版本,heroku就会为您处理。 I have an app running on ruby 1.9.2 and rails 3.2.13 and another on ruby 2.0.0 and rails 4.0.3.
我有一个在ruby 1.9.2和rails 3.2.13上运行的应用程序,另一个在ruby 2.0.0和rails 4.0.3上运行的应用程序。
Yes, It is possible just make sure that the ruby versions with rails 4. It requires Ruby version 2.0.0+. 是的,有可能只是确保Ruby版本带有rails4。它需要Ruby 2.0.0+版本。 Just check the https://devcenter.heroku.com/articles/getting-started-with-rails4 https://devcenter.heroku.com/articles/getting-started-with-rails3 for the pre requisites.
只需检查https://devcenter.heroku.com/articles/getting-started-with-rails4 https://devcenter.heroku.com/articles/getting-started-with-rails3以了解先决条件。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.