我在获取db:push to work with heroku时遇到了一些问题。正如我在其他地方读到的,ruby版本> 1.9.3-p0有一个问题,所以我已经降级到1.9.2-p290,因为这似乎是最常见的建议。/gems/ruby/1.9.1/gems/sinatra-1.0/lib/sinatra/base.rb:566:in `catch'",
"/
这就是我的问题。我不能将我的数据库推送到Heroku Cedar Stack。我正在尝试通过Taps gem将sqlite数据库迁移到postgresql。/同步‘“中的"/app/.bundle/gems/ruby/1.9.1/gems/sequel-3.20.0/lib/sequel/core.rb:249:in块,"/app/.bundle/
在从sqlite到postgresql的转换过程中,我使用了这个命令taps server SQLite://db/development.sqlite3 jey 291298,但是随后出现了以下问题。也许Gemfile有什么问题。我的rails版本是5.1.6。C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/gems/sequel-5.8.0
使用红宝石“续集”时,当我尝试Sequel.connect("mysql://localhost")时,我会得到以下错误:
Sequel::AdapterNotFound: LoadError: require'mysql' did not define Mysql::CLIENT_MULTI_RESULTS!You are probably using the pure rubymysql.rb drive
我的应用程序在Heroku中使用Ruby + Sinatra + puma + sequel,当worker process =1时,当增加worker process =2时,或者如果增加dyno =2时,我开始出现在系统中的不同点随机丢失用户会话的问题,这使得通过heroku日志定位特定错误非常困难。同样的应用程序与以下应用程序配合使用也很好:我的应用机架sinatra类:
class Main <Sinatra :: Aplic