【发布时间】:2011-06-14 15:24:04
【问题描述】:
我正在尝试使用 Mongoid 在 Padrino 中启动并运行示例项目。运行 bundle 时出现错误,因为 padrino 需要 3.0.8 的 activesupport,而 mongoid 需要 3.0.5。所以我 gem 安装了 3.0.5 并且我能够运行 bundle。但是现在当我尝试创建一个像
这样的新模型时padrino g model post title:string body:text
我收到此错误
=> Problem loading ./config/boot.rb
=> You have already activated activesupport 3.0.8, but your
Gemfile requires activesupport 3.0.5. Consider using bundle exec.
任何想法都会有所帮助。
【问题讨论】:
标签: ruby rubygems bundle padrino