我正在尝试
$heroku db:push
这是我得到的错误
C:/Ruby/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/utils.rb:138:in `union': can't convert Array into
String (TypeError)
from C:/Ruby/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/utils.rb:138
from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from C:/Ruby/lib/ruby/gems/1.8/gems/taps-0.3.9/lib/taps/multipart.rb:2
from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from C:/Ruby/lib/ruby/gems/1.8/gems/taps-0.3.9/lib/taps/data_stream.rb:2
from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
... 8 levels...
from C:/Ruby/lib/ruby/gems/1.8/gems/heroku-1.9.11/lib/heroku/command.rb:20:in `run'
from C:/Ruby/lib/ruby/gems/1.8/gems/heroku-1.9.11/bin/heroku:13
from C:/Ruby/bin/heroku:19:in `load'
from C:/Ruby/bin/heroku:19
这是一个全新的MySQL开发数据库,安装了taps gem。我已将同一个数据库推送到多个其他heroku应用程序,这些已被删除。
答案 0 :(得分:1)
您是否检查过version
机架宝石?
尝试制作机架(1.0.1)
i.e gem uninstall rack <version number>
then gem install rack 1.0.1
希望这有帮助,
此致
SAURABH