1
何か変わったことが起きています。バンドルインストールでプライベートgitリポジトリからgemがインストールされない
私はプライベートな宝石をプロジェクトに依存しています。次のように私は、プライベート宝石Gitのレポを追加しました:
...
Using my-awesome-gem 1.2.3 from https://john:[email protected]/johndoe/my-awesome-gem (at [email protected])
Bundle complete! 5 Gemfile dependencies, 21 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
しかし、私は
gem list
を行うときに、この宝石は表示されません。
gem 'my-awesome-gem', '>=1.2.3', git: 'https://john:[email protected]/johndoe/my-awesome-gem'
bundle install
を行うときには示しています。私はプロジェクトにpry -r my-awesome-gem
を行うか、それを必要とする場合も、それが返されます。私は数時間のために遊んでてきたが、問題を見つけることができません
! Unable to load application: LoadError: cannot load such file -- my-awesome-gem
/Users/johndoe/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- my-awesome-gem (LoadError)
...
。私はrbenv経由でrubyを再インストールしようとしました。私はrbenv経由でRuby 2.4.1を使用しています。
私は間違っていますか?