当我尝试运行heroku控制台时,出现以下错误:
user@omnipresent:~/rails/demo$ heroku console
! This version of the heroku gem has been deprecated.
! Please update it by running: gem update heroku
当我进行更新时..它说没有什么可以更新的!
user@omnipresent:~/rails/demo$ gem update heroku
Updating installed gems
Nothing to update
以下是我的版本:
user@omnipresent:~/rails/demo$ heroku version
heroku-gem/1.5.2
user@omnipresent:~/rails/demo$ ruby -v
ruby 1.9.1p0 (2009-01-30 revision 21907) [i686-linux]
user@omnipresent:~/rails/demo$ rails -v
Rails 2.3.5
运行heroku列表显示如下:
user@omnipresent:/usr/bin$ gem list heroku
*** LOCAL GEMS ***
heroku (1.8.5, 1.8.3, 1.8.0, 1.5.2)
答案 0 :(得分:0)
即使我已经拥有1.8.5 ......我想再次安装它会强制更新类缓存。
user@omnipresent:~/rails/seconddemo$ sudo gem install heroku
Successfully installed heroku-1.8.5
1 gem installed
Installing ri documentation for heroku-1.8.5...
Updating class cache with 3098 classes...
Installing RDoc documentation for heroku-1.8.5...
user@omnipresent:~/rails/seconddemo$ heroku console
Ruby console for myapp.heroku.com
>>