我将此添加到environment.rb
config.gem 'bitly'
我将此添加到.gems
bitly
但是当我做“git push heroku”时,我收到了这个错误:
-----> Installing gem bitly from http://gemcutter.org, http://rubygems.org
ERROR: Error installing bitly:
multi_json requires RubyGems version >= 1.3.6
! Heroku push rejected, failed to install gem
感谢任何帮助。