Why I am getting Could not find multi_json-1.3.1 in any of the sources?

后端 未结 6 654
栀梦
栀梦 2021-02-08 20:43

I have a simple Rails application I want to deploy to Heroku. When I run the below command

git push heroku master

The below error message is di

6条回答
  •  既然无缘
    2021-02-08 21:23

    For me this was caused because Pow (local rack server) was not using the correct RVM ruby version/gemset.

    Fixed by adding the following .powrc:

    # based on https://coderwall.com/p/pkj39a
    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
    

    Source: https://coderwall.com/p/pkj39a

提交回复
热议问题