简体   繁体   English

jruby rails 3和鸣鸟

[英]jruby rails 3 and warbler

I am trying to make a deployment war. 我正试图发动部署战。 I have the jdbc-mysql, activerecord-jdbcmysql-adapter and warbler gems installed. 我安装了jdbc-mysql,activerecord-jdbcmysql-adapter和warbler gems。 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: 我已经编辑config / database.yml并将适配器更改为jdbcmysql ...,但我什至无法运行warble config而不得到以下错误消息:

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? 我尝试执行任何可疑的命令来得到此命令...有人知道我所缺少的吗?

Found it. 找到了。 There is a new file in Rails 3 called Gemfile. Rails 3中有一个名为Gemfile的新文件。 I had to comment out the line that said "gem mysql2". 我不得不注释掉说“ gem mysql2”的行。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM