This is because you specify the Ruby version in your Gemfile (2.3.0), and this version is not installed or is not the current or standard version.
Do not delete the ruby '2.3.0' line, as someone said above. An application may have a dependency on this version. Follow these steps:
1) Check if Ruby 2.3.0 is installed. If you use rvm, this can be done.
rvm list
and if you use rbenv
rbenv versions
2) If you do not have this version of Ruby in the list of installed versions, install it by issuing the following command
rvm install 2.3.0
and if you use rbenv
rbenv install 2.3.0
3) If you have already installed or completed step 2 of Ruby 2.3.0, enter your application directory and run the following command
rvm use 2.3.0
and if you use rbenv
rbenv local 2.3.0
Then run
bundle install
and I believe that everything will be all right.
Hope this helps!
source share