0

I have a Gemfile with the following contents:

source 'https://rubygems.org'
gem 'knife-cloudstack', :git => 'git://github.com/CloudStack-extras/knife-cloudstack.git'

On doing a bundle-install, i get the following output

bundle install --binstubs
...
Using knife-cloudstack (0.0.13) from git://github.com/CloudStack-extras/knife-cloudstack.git (at master)
...

But now when i do a bundle show, bundler cannot find the knife-cloudstack gem

bundle show knife-cloudstack
Could not find gem 'knife-cloudstack (>= 0) ruby' in the gems available on this machine

I am not sure what i am missing here. Please assist

4

1 に答える 1

0

まったく同じことを試しただけで、私にとってはうまくいくようです。使用している ruby​​ のバージョンは何ですか? 「宝石環境」の出力は何ですか? 「バンドルショー」を実行すると宝石が表示されますか? Linux マシンで実行していますか? その場合、「strace -f -eopen -o/tmp/strace.log bundle install」を使用して、gem を書き込む場所を見つけることができる場合があります。

乾杯

于 2012-12-12T14:34:32.243 に答える