我正嘗試在我的(不幸的)Windows 8機器上安裝ruby的activerecord gem。我剛安裝的devkit,並嘗試運行在PowerShell中gem install的問題
gem install activerecord
以下,這是輸出我得到
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions into the C:/Ruby193/lib/ruby/gems/1.9.1 directory.
我是計算機的管理員,所以我不能爲我的生活找不出它不喜歡什麼。
你打開PowerShell作爲管理員?我沒有使用win8,但這是我必須在我的Win 7機器上做的事情。 –
@AhishekAsthana我試過了,它仍然給我同樣的錯誤。 – Becuzz
每個目錄是否存在於這個鏈中? C:/Ruby193/lib/ruby/gems/1.9.1 – vgoff