Deploy Rails 3 site using AWS

安稳与你 提交于 2019-12-25 08:17:26

问题


I am going to be deploying a site i have built in rails 3 for the first time.. It has been recommended that I use AWS. I have read through some tutorials online but keep running into the same problem. When i run the command

    rails g vulcanize complete_passenger_mysql

I get the following error message

    Could not find generator vulcanize.

At first glance it seems as if rails 3.1 is not compatible with the Gem: rubber.

has any one else had the same issue or knows of any way of doing this?. I am also willing to listen to alternative options, i chose AWS as it is free to start off with and people recommended it. Any suggestions welcome.. I would really like to deploy my site soon

Thanks


回答1:


You need to add the rubber to your Gemfile in order for its generators to be picked up.




回答2:


You need to do a rubber vulcanize:

rubber vulcanize complete_passenger_mysql


来源:https://stackoverflow.com/questions/10040986/deploy-rails-3-site-using-aws

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!