尝试加载gem'mysql2'时出错。 (捆扎机:: GemRequireError)

时间:2016-04-16 19:08:10

标签: ruby-on-rails redmine

我在我的托管服务提供商中安装了一个rails app(redmine)。捆绑安装成功完成,但现在我收到此错误。 错误信息: 尝试加载gem'mysql2'时出错。 (捆扎机:: GemRequireError) 例外类: PhusionPassenger ::不明错误 应用程序根: /和home1 / deintem1 / rails_apps / redmine3 回溯:

文件行位置:

0 /home1/deintem1/ruby/gems/gems/bundler-1.11.2/lib/bundler/runtime.rb 81在`救援中阻止(2级)中的'

Rails MySQL2 Error

也试过

gem install mysql2 

gem update mysql2 
没什么用的。

有什么想法吗?

环境:

rails -v

Rails 3.2.16

宝石列表| grep -i'mysql2'

activerecord-mysql2-adapter (0.0.3)
activerecord-mysql2-retry-ext (0.2.0)
activerecord-mysql2legacydb-adapter (0.2.0)
activerecord-mysql2spatial-adapter (0.4.3)
activerecord-pedantmysql2-adapter (1.1.0)
benhutton-mysql2psql (0.2.2)
em_mysql2_connection_pool (0.0.5)
ghazel-mysql2 (0.2.6.3)
glimpse-mysql2 (1.1.0)
mysql2 (0.4.3 ruby x64-mingw32 x86-mingw32 x86-mswin32-60)
mysql2-client-general_log (0.2.1)
mysql2-client-general_logs (0.1.0)
mysql2-cs-bind (0.0.6)
mysql2-metrics (0.0.1)
mysql2-sp (0.3.10)
mysql2_bigint (0.2.6.1)
mysql2_downcase (0.0.3)
mysql2_model (0.1.2)
mysql2_query_filter (0.1.1)
mysql2_query_filter-plugin-casual_log (0.1.1)
mysql2_query_filter-plugin-log (0.1.1)
mysql2_wrapper (0.0.1)
mysql2json (0.0.4)
mysql2json_es (0.0.1)
mysql2mysql (0.0.2)
mysql2psql (0.1.0)
mysql2wrapper (0.0.2)
mysql2xxxx (0.2.1)
patriot-mysql2-client (0.7.0)
peek-mysql2 (1.1.0)
rdp-mysql2 (0.2.7.1)
sequel-em_mysql2 (0.1.0)
solaris-mysql2 (0.3.11)
xmysql2psql (0.2.1)

在我的Gemfile.lock中:

mysql2 (0.3.20)
mysql2 (0.3.20-x86-mingw32)

0 个答案:

没有答案