I am currently tring to run the rake db:create command on Ubuntu Xenial 16.04.01 but I am getting the error below.
Your bundle is locked to activesupport (5.0.0.1), but that version could not be found in any of the sources listed in your Gemfile. If you haven't changed sources, that means the author of activesupport (5.0.0.1) has removed it. You'll need to update your bundle to a different version of activesupport (5.0.0.1) that hasn't been removed in order to install.
I have tried running the command below to try to get the new version of active support but it is still not working..
sudo apt-get update
sudo apt-get install ruby-activesupport
Any help or advice would be much appreciated.
sudo apt-get updatehas nothing to do with ruby gems.From the error, it seems like your
Gemfile.lockhas the version 5.0.0.1 ofActiveSupport, but it isn't declared in yourGemfile.Can you try to add
gem activesupportin yourGemfile, and then runbundle installfrom within the project folder? This should solve your problem.