pow says: Bundler::GemNotFound: Could not find rake-0.9.2.2 in any of the sources

后端 未结 4 2051
星月不相逢
星月不相逢 2021-01-30 04:34

I have a rails app that runs fine with rails s, but when I try to load it using pow I\'m getting this error:

Bundler::GemNotFound: Could not find ra         


        
4条回答
  •  我在风中等你
    2021-01-30 05:06

    I ran into this issue when I changed from .rvmrc to .ruby-version and .ruby-gemset files.

    Change your .powrc file to be:

    if [ -f "$rvm_path/scripts/rvm" ] && [ -f ".ruby-version" ] && [ -f ".ruby-gemset" ]; then
      source "$rvm_path/scripts/rvm"
      rvm use `cat .ruby-version`@`cat .ruby-gemset`
    fi
    

提交回复
热议问题