我是 ruby 的新手,在尝试在 Heroku 上推送我的项目时发现了一个问题
当我执行:
Heroku login
结果是:
rbconfig/datadir.rb and {Rb}Config.datadir is being deprecated from RubyGems.
It will be removed completely on or after June 2011. If you wish to rely on a
datadir, please use Gem.datadir.
/usr/local/lib/site_ruby/1.9.1/rubygems.rb:1245:in `<top (required)>':
uninitialized constant RbConfig (NameError)
from <internal:gem_prelude>:1:in `require'
from <internal:gem_prelude>:1:in `<compiled>'
我花了 3 天时间寻找解决此问题的方法,但没有结果
谢谢你能给我的帮助
我的操作系统是 ubuntu 12.10