在Rails 2.8中,我使用的是在Solaris服务器上编译的system gem,用作生产环境。Rails 3使用bundler,当我使用Capistrano部署并执行bundle install时,bundler无法安装该gem。MySql gem必须根据我在这里记录的源代码进行编译:http://riccardotacconi.blogspot.com/2009/10/how-to-install-mysqlruby-on-solaris.html。有没有办法告诉bundler/Rails3使用系统MySql gem?这个问题阻碍了我的部署问题,并使应用程序崩溃。
发布于 2010-10-15 19:52:28
你可以定义你的gem在哪里:path
gem 'mysql', :path => '/path_to_mysql_in_system'https://stackoverflow.com/questions/3941423
复制相似问题