Running “bundle install” fails and asks me to run “bundle install”

前端 未结 2 534
余生分开走
余生分开走 2021-02-15 08:55

In fact, all gem-related commands result in the same error message, when run from inside the existing rails app I cloned from a git repo.

$ bundle install
Could          


        
2条回答
  •  面向向阳花
    2021-02-15 09:18

    OK guess I fixed it..

    For the gems that running bundle install complained about when run from inside the app directory, I installed them by going outside the app directory and doing sudo gem install [gem] one by one. Doing bundle install --gemfile=myApp/Gemfile also installed a couple of the missing gems.

    I have no idea why I wasn't able to just run bundle install from inside the app directory...lame.

提交回复
热议问题