I am getting this error while running server, how do I fix this?
相关问题
- Question marks after images and js/css files in ra
- Using :remote => true with hover event
- Eager-loading association count with Arel (Rails 3
- How to specify memcache server to Rack::Session::M
- Why am I getting a “C compiler cannot create execu
相关文章
- Ruby using wrong version of openssl
- Right way to deploy Rails + Puma + Postgres app to
- AWS S3 in rails - how to set the s3_signature_vers
- Difference between Thread#run and Thread#wakeup?
- how to call a active record named scope with a str
- How to add a JSON column in MySQL with Rails 5 Mig
- “No explicit conversion of Symbol into String” for
- form_for wrong number of arguments in rails 4
For
$
Your Ruby version is 2.3.0, but your Gemfile specified 2.4.1. Changed 2.4.1 in Gemfile to 2.3.0Add the following to your Gemfile
Your Gemfile has a line reading
Change it to
Then run
You better install Ruby 2.2.5 for compatibility
If you're using rvm:
else if you're using rbenv:
else if you can not change ruby version by rbenv, read here
I am on Mac OS Sierra. I had to update
/etc/paths
and add/Users/my.username/.rbenv/shims
to the top of the list.If you are using rbenv then make sure that you run the "rbenv rehash" command after you set local or global ruby version. It solved the issue for me.