簡體   English   中英

得到以下錯誤安裝json(1.8.1)時發生錯誤,並且Bundler無法繼續

[英]Getting following error An error occurred while installing json (1.8.1), and Bundler cannot continue

我正在嘗試創建一個新的Rails應用程序。 但是運行捆綁安裝時出現以下錯誤:

安裝json(1.8.1)時發生錯誤,並且Bundler無法繼續。

我嘗試了各種選項,例如xcode-select --installrm -rf test如先前的問題中給出的那樣,但是沒有成功。

請幫助我解決此問題。 因為這個錯誤,我被卡住了。

如果您使用的是MacOS X 10.8,則xcode存在問題。 您可以嘗試使用本手冊解決問題: http : //robots.thoughtbot.com/the-hitchhikers-guide-to-riding-a-mountain-lion

另外,超級用戶可能會有問題。 嘗試使用sudo安裝json。

sudo gem install json -v '1.8.1'

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM