Rails setup osx - 2.0.2 应用程序需要升级到 3
大约一年一次,我需要更新一些 Rails 应用程序。这意味着虽然我了解 ruby 语言...但我忘记了并且没有跟上在 osx 10.6.7 上设置 Rails 环境的最佳实践。去年我买了一台新的mbp...所以我需要重新配置一切。其中一个应用程序是 2.0.2,另外两个应用程序是 2.3.x...所以我想在对它们进行更改时也升级它们。我听说过有关 homebrew 和 pow 的好消息,所以我安装了它们。如果我从头开始编写一个新应用程序,一切都会好起来......但是如何使用此设置运行 Rails v.2.0.2 应用程序?
Once a year or so, I need to update a few rails apps. This means that while I know the ruby language... I forget and don't keep up with the best practices of setting up the rails environment on osx 10.6.7. In the past year I got a new mbp... so I need to reconfig everything. One of the apps is 2.0.2 and two other apps are 2.3.x... so I'd like to also upgrade these as I make changes to them. I've heard good things about homebrew and pow so I installed those. And all would be well if I was writing a new app from scratch... but how do I run a rails v.2.0.2 app with this setup?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不幸的是,无法使用 pow 运行 Rails 2.0.2 应用程序。 Pow 是一个运行机架应用程序的工具,而 Rails 直到 2.3 版本才构建在机架之上。
There is no way to run a rails 2.0.2 app with pow, unfortunately. Pow is a tool for running rack apps, and rails wasn't build on top of rack until version 2.3.