我的 Mac 刚刚坏了,我不得不迁移到 Ubuntu 机器上。我正在开发一个已经在 Ubuntu 机器上生产的应用程序。
我将此应用程序克隆到我的新机器中,并且所有视图助手似乎都丢失了,顺便说一句,我正在使用 HAML。
我运行了我的规格,我得到了很多:
undefined method url_for for #
undefined method t for #
undefined method content_for for #
undefined method form_for for #
以下是我的 Gemfile 的内容:http: //gist.github.com/563759
我已经从我的新机器上删除了所有的 gem,并使用 bundler 重新安装它们以匹配我的生产环境。
我也使用 rvm,我不知道哪些附加信息可能是相关的
请帮忙!!!