ruby -v
ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [x86_64-linux]
cat Gemfile.lock | grep -A 2 RUBY
RUBY VERSION
ruby 2.7.1p83
bundle platform --ruby
ruby 2.7.1p83
sudo rake db:create
Your Ruby version is 2.7.0, but your Gemfile specified 2.7.1
I can't see what is the problem here. This is a fresh installation of Ubuntu it's 20.04 and I was trying to set up a ruby on rails env for the first time.