ローカルで正常に動作する gem ファイルがあります。私の宝石ファイルでは、宝石の1つがgithubの場所を使用してインストールされます...
gem 'rails3-jquery-autocomplete', :git => 'https://github.com/willfults/rails3-jquery-autocomplete.git'
問題は、開発ボックスに ssh を実行して bundle または bundle install を実行すると、サーバーで次のエラーが発生することです...
Fetching gem metadata from https://rubygems.org/..
Fetching https://github.com/willfults/rails3-jquery-autocomplete.git
fatal: failed to open '/srv/www/socialu.com/https://github.com/willfults/rails3-jquery-autocomplete.git/objects': No such file or directory
Git error: command `git clone 'https://github.com/willfults/rails3-jquery-autocomplete.git' "/srv/www/socialu.com/https:/github.com/willfults/rails3-jquery-autocomplete.git/ruby/1.9.1/cache/bundler/git/rails3-jquery-autocomplete-186d8dd59401e0d4dd8c2860261d9ba55e0793f2" --bare --no-hardlinks` in directory /srv/www/socialu.com has failed.
どうすればそのような問題を解決できますか? ありがとう。
更新: git url を使用すると、次のようになります...
git://github.com/willfults/rails3-jquery-autocomplete.git リモートのフェッチ: オブジェクトのカウント: 1846、完了。リモート: オブジェクトの圧縮: 100% (784/784)、完了。リモート: 合計 1846 (デルタ 1072)、再利用された 1688 (デルタ 957) オブジェクトの受信: 100% (1846/1846)、481.07 KiB | 764 KiB/秒、完了。差分の解決: 100% (1072/1072)、完了。ssh: ホスト名 /srv/www/socialu.com/https を解決できませんでした: 名前またはサービスが不明 致命的: リモート エンドが予期せずハングアップしました Git エラー:
git clone --no-checkout "/srv/www/socialu.com/https:/github.com/willfults/rails3-jquery-autocomplete.git/ruby/1.9.1/cache/bundler/git/rails3-jquery-autocomplete-6e048304dc5207eafc457581b1fa2d0073d2e1ed" "/srv/www/socialu.com/https:/github.com/willfults/rails3-jquery-autocomplete.git/ruby/1.9.1/bundler/gems/rails3-jquery-autocomplete-060f2bea5e46"
ディレクトリ /srv/www/socialu.com のコマンドが失敗しました。このエラーが続く場合は、キャッシュ ディレクトリ '/srv/www/socialu.com/https:/github.com/willfults/rails3-jquery-autocomplete.git/ruby/1.9.1/cache/bundler/git/ を削除してみてください。 rails3-jquery-autocomplete-6e048304dc5207eafc457581b1fa2d0073d2e1ed'