2013-02-11 31 views
2

我試圖在我的CentOS 6.3服務器上安裝redmine。我創建了一個用戶運行該程序,然後我試着用命令使用bundler安裝redmine需要root密碼

bundle install --without development test postgresql sqlite rmagick 

安裝它,但它要求我的密碼

Fetching gem metadata from http://rubygems.org/......... 
Fetching gem metadata from http://rubygems.org/.. 
Enter your password to install the bundled RubyGems to your system: 

Interrupt: An error occurred while installing rake (10.0.3), and Bundler cannot continue. 
Make sure that `gem install rake -v '10.0.3'` succeeds before bundling. 

當前安裝的寶石列表是:

*** LOCAL GEMS *** 

bigdecimal (1.1.0) 
bundler (1.2.3) 
charlock_holmes (0.6.9) 
io-console (0.4.1, 0.3) 
json (1.7.6, 1.5.4) 
minitest (4.6.0, 2.5.1) 
rake (10.0.3, 0.9.2.2) 
rdoc (3.12.1, 3.9.5) 

我沒有使用RVM。正如你可以看到這些寶石適用於所有用戶:如果我嘗試爲我的redmine用戶和我的root用戶執行gem list命令,我會得到相同的結果。該耙alredy安裝,所以我不明白的問題:安裝使用GitLab沒有問我任何密碼

回答

3

在本地文件夾中安裝:

bundle install --without development test postgresql sqlite rmagick --path vendor/bundler 
+0

謝謝你的工作! – Stefano 2013-02-11 10:36:56