Could not detect rake tasks

前端 未结 5 972
一生所求
一生所求 2020-12-20 13:07
   ensure you can run `$ bundle exec rake -P` against your app with no environment variables present
   and using the production group of your Gemfile.
   This may b         


        
5条回答
  •  星月不相逢
    2020-12-20 13:19

    Old question, but I ran into this issue just now, and there is a new fix for it. If you're using Ruby version <= 2.6.1, and Bundler 2.0.1, update Ruby to 2.6.3 ($ rvm install "ruby-2.6.3") and Bundler to 2.0.2 ($ gem install bundler '2.0.2'). Make sure to specify the new Ruby version in your Gemfile.

    Unfortunately I can't tell you why this works, but it's worked for 3 other people on my team so far, so it's worth a shot.

提交回复
热议问题