Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/ruby-on-rails/57.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ruby on rails Heroku部署sqlite3_Ruby On Rails_Heroku_Deployment_Sqlite - Fatal编程技术网

Ruby on rails Heroku部署sqlite3

Ruby on rails Heroku部署sqlite3,ruby-on-rails,heroku,deployment,sqlite,Ruby On Rails,Heroku,Deployment,Sqlite,当我在heroku上部署时 An error occurred while installing sqlite3 (1.3.10), and Bundler cannot continue. Make sure that `gem install sqlite3 -v '1.3.10'` succeeds before bundling. ! ! Failed to install gems via Bundler. ! ! Dete

当我在heroku上部署时

       An error occurred while installing sqlite3 (1.3.10), and Bundler cannot
   continue.
   Make sure that `gem install sqlite3 -v '1.3.10'` succeeds before bundling.
 !

 !     Failed to install gems via Bundler.
 !     
 !     Detected sqlite3 gem which is not supported on Heroku.
 !     https://devcenter.heroku.com/articles/sqlite3
 !

 !     Push rejected, failed to compile Ruby app
我想和你一起用

我的文件的一大块

gem 'sqlite3', '~> 1.3.10'
或者在heroku上使用sqlite是不可能的

有什么建议吗

我把它修好了

添加
gem'mysql2'
而不是
gem'sqlite3',“~>1.3.10'
,并按照我的预期工作

您已经阅读了此链接(从日志中)?