2010-04-14 52 views
0

当我尝试运行的Heroku控制台我得到以下错误:运行heroku控制台时出错。不能更新的Heroku

[email protected]:~/rails/demo$ heroku console 
! This version of the heroku gem has been deprecated. 
! Please update it by running: gem update heroku 

当我做update..it说,有什么更新!

[email protected]:~/rails/demo$ gem update heroku 
Updating installed gems 
Nothing to update 

以下是我的版本:

[email protected]:~/rails/demo$ heroku version 
heroku-gem/1.5.2 
[email protected]:~/rails/demo$ ruby -v 
ruby 1.9.1p0 (2009-01-30 revision 21907) [i686-linux] 
[email protected]:~/rails/demo$ rails -v 
Rails 2.3.5 

运行的Heroku列表显示如下:

[email protected]:/usr/bin$ gem list heroku 

*** LOCAL GEMS *** 

heroku (1.8.5, 1.8.3, 1.8.0, 1.5.2) 

回答

0

即使我已经有了1.8.5 ...我想安装它再次迫使类缓存更新。

[email protected]:~/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... 
[email protected]:~/rails/seconddemo$ heroku console 
Ruby console for myapp.heroku.com 
>>