2

CentOS6.3サーバーにredmineをインストールしようとしています。プログラムを実行するユーザーを作成し、コマンドを使用してインストールしようとしました

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.

現在インストールされているgemリストは次のとおりです。

*** 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を使用していません。ご覧のとおり、これらのgemはすべてのユーザーが利用できます。redmineユーザーとrootユーザーに対してgem listコマンドを実行しようとすると、同じ結果が得られます。レーキはすでにインストールされているので、何が問題なのかわかりません。GitLabをインストールしてもパスワードは要求されませんでした。

4

1 に答える 1

3

以下を使用してローカルフォルダにインストールします。

bundle install --without development test postgresql sqlite rmagick --path vendor/bundler
于 2013-02-11T10:26:44.327 に答える