お世話になります。
プロジェクトごとにrbenvとbundlerで
今回、
https://github.com/everydayrails/everydayrails-rspec-2017
のソースを練習するためにrubyのversionを2.4.5切り替えたのですが、bundle installの際にsystemへインストールしようとします。
コマンド上ではversionは切り替わっており、bundlerも入っています。
考えられる原因をご教授いただけないでしょうか?
~ $ rbenv local system ~ $ rbenv global 2.4.5 ~ $ cd Projects/everydayrails-rspec-2017/ everydayrails-rspec-2017 $ rbenv local 2.4.5 everydayrails-rspec-2017 $ bundle install 省略 Your user account isn't allowed to install to the system RubyGems. You can cancel this installation and run: bundle install --path vendor/bundle to install the gems into ./vendor/bundle/, or you can enter your password and install the bundled gems to RubyGems using sudo. Password: everydayrails-rspec-2017 $ gem list 省略 *** LOCAL GEMS *** 省略 bundler (1.16.2) 省略 everydayrails-rspec-2017 $
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
退会済みユーザー
2019/03/13 19:42