jruby Rails 3 和 Warbler
我正试图发动一场部署战。我安装了 jdbc-mysql、activerecord-jdbcmysql-adapter 和 warbler gems。我已经编辑了 config/database.yml 并将适配器更改为 jdbcmysql...但是我什至无法运行 warble config 而不会收到此错误消息:
Could not find gem 'mysql2 (>= 0, runtime)' in any of the gem sources.
我尝试的任何 warble 命令我得到了这个...有人知道我缺少什么吗?
I am trying to make a deployment war. I have the jdbc-mysql, activerecord-jdbcmysql-adapter and warbler gems installed. I have edited config/database.yml and changed the adapter to jdbcmysql... but I can not even run warble config without getting this error message:
Could not find gem 'mysql2 (>= 0, runtime)' in any of the gem sources.
Any warble command I try I get this... Anyone know what I am missing?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
找到了。 Rails 3 中有一个名为 Gemfile 的新文件。我不得不注释掉“gem mysql2”这一行。
Found it. There is a new file in Rails 3 called Gemfile. I had to comment out the line that said "gem mysql2".