2011-12-20 111 views
0
我有在OS X Lion的安裝導軌由於某種原因,問題

...

RVM下安裝...

$ gem install rails 
ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError) 
    bad response Forbidden 403 (http://production.cf.rubygems.org/gems/rdoc-3.12.gem) 

$ gem environment 
RubyGems Environment: 
    - RUBYGEMS VERSION: 1.8.12 
    - RUBY VERSION: 1.9.3 (2011-10-30 patchlevel 0) [x86_64-darwin11.2.0] 
    - INSTALLATION DIRECTORY: /Users/ethan/.rvm/gems/[email protected]_apps 
    - RUBY EXECUTABLE: /Users/ethan/.rvm/rubies/ruby-1.9.3-p0/bin/ruby 
    - EXECUTABLE DIRECTORY: /Users/ethan/.rvm/gems/[email protected]_apps/bin 
    - RUBYGEMS PLATFORMS: 
    - ruby 
    - x86_64-darwin-11 
    - GEM PATHS: 
    - /Users/ethan/.rvm/gems/[email protected]_apps 
    - /Users/ethan/.rvm/gems/[email protected] 
    - GEM CONFIGURATION: 
    - :update_sources => true 
    - :verbose => true 
    - :benchmark => false 
    - :backtrace => false 
    - :bulk_threshold => 1000 
    - :sources => ["http://gemcutter.org", "http://gems.rubyforge.org/", "http://gems.github.com"] 
    - "install" => "--no-rdoc --no-ri" 
    - "update" => "--no-rdoc --no-ri" 
    - REMOTE SOURCES: 
    - http://gemcutter.org 
    - http://gems.rubyforge.org/ 
    - http://gems.github.com 

沒有人見過這個?知道如何讓它起作用?

回答

1

其實,它似乎在我的系統上專門掛在rdoc上。於是我下載了寶石到我的桌面,並與...

$ gem install --local ~/Desktop/rdoc-3.12.gem 

然後Rails的安裝能後完成安裝。

0

看起來像rubygems服務器的臨時問題。
我現在有麻煩更新我的寶石。
只需幾分鐘到幾小時之後再試一次。

相關問題