MacPorts에 Ruby on Rails가 설치되어 있습니다.이 언어를 공부하기 위해 어제부터 업데이트하고 재 작업하고 있습니다.Ruby 문서 업데이트 오류
사양
ruby -v
ruby 1.8.7 (2012-02-08 patchlevel 358) [i686-darwin10]
rails -v
Rails 3.0.3
gem -v
1.8.5
여정
지금까지 꽤 여행이 루비, 레일 및 보석 내 Mac에서 작동하도록하는 것이 었습니다. 튜토리얼을 다음에 나는/업데이트 레일 API 문서를 설치하기로 결정하고 나는이 오류에 달렸다 : 내가 한 때
Password:
NOTE: Gem::SourceIndex.from_installed_gems is deprecated with no replacement. It will be removed on or after 2011-10-01.
Gem::SourceIndex.from_installed_gems called from /opt/local/lib/ruby/site_ruby/1.8/rubygems/commands/rdoc_command.rb:58.
NOTE: Gem::SourceIndex.installed_spec_directories is deprecated, use Specification.dirs. It will be removed on or after 2011-11-01.
Gem::SourceIndex.installed_spec_directories called from /opt/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:47.
NOTE: Gem::SourceIndex.from_gems_in is deprecated with no replacement. It will be removed on or after 2011-10-01.
Gem::SourceIndex.from_gems_in called from /opt/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:47.
NOTE: Gem::SourceIndex#initialize is deprecated with no replacement. It will be removed on or after 2011-11-01.
Gem::SourceIndex#initialize called from /opt/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:67.
NOTE: Gem::SourceIndex#spec_dirs= is deprecated, use Specification.dirs=. It will be removed on or after 2011-11-01.
Gem::SourceIndex#spec_dirs= called from /opt/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:94.
NOTE: Gem::SourceIndex#refresh! is deprecated with no replacement. It will be removed on or after 2011-11-01.
Gem::SourceIndex#refresh! called from /opt/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:95.
NOTE: Gem::SourceIndex#load_gems_in is deprecated with no replacement. It will be removed on or after 2011-11-01.
Gem::SourceIndex#load_gems_in called from /opt/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:320.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /opt/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#each called from /opt/local/lib/ruby/site_ruby/1.8/rubygems/commands/rdoc_command.rb:58.
Installing ri documentation for activesupport-3.2.3...
unrecognized option `--encoding'
For help on options, try 'rdoc --help'
ERROR: While generating documentation for activesupport-3.2.3
... MESSAGE: exit
... RDOC args: --ri --op /opt/local/lib/ruby/gems/1.8/doc/activesupport-3.2.3/ri --encoding UTF-8 lib --title activesupport-3.2.3 Documentation --quiet
gem server
서버가 최대 시작되었다. 그래서 아마 1 년 전부터 문서를 설치했고 완전히 잊어 버렸을 것입니다.
이러한 오류를 제거하려면 어떻게해야합니까? 아니면 안전하게 무시하고 계속 할 수 있습니까?
입력 해 주셔서 감사합니다. @ 마크 샌즈! 당신은 RVM을 추천하는 두 번째 남자입니다. 그것으로 들여다 볼 것입니다.또한 내가 꽤 오래 전에 구입 한 책 RailsSpace가 오래된 코드를 많이 가지고 있음을 깨달았습니다. – rhand
문제 없습니다! rvm 및 rbenv의 찬반 양론을 읽고 사용하려는 버전 관리자에 대한 자신의 견해를 공식화하십시오. –