getc已经过时了;请改用STDIN.getc

时间:2010-08-13 17:15:54

标签: ruby-on-rails rake gem

运行rake gems时:安装我看到这条消息:

/opt/local/lib/ruby/site_ruby/1.8/rubygems/spec_fetcher.rb:232: warning: getc is obsolete; use STDIN.getc instead

如何解决此问题?

1 个答案:

答案 0 :(得分:1)

使用sudo命令解决问题,即sudo rake gems:install