I keep getting this error
Your Ruby version is 2.5.0, but your Gemfile specified 2.5.1
I use rbenv and homebrew. I also realized that I have .asdf working.
Based on other Stackoverflow, I have tried:
2.5.0 % rbenv local 2.5.1
rbenv: version `2.5.1' not installed
2.5.0 % ruby -v
ruby 2.5.0p0 (2017-12-25 revision 61468) [x86_64-darwin16]
When i run this command, i get this:
2.5.0 .rbenv % gem env home
/Users/annxxxx/.asdf/installs/ruby/2.5.0/lib/ruby/gems/2.5.0
UPDATE:
So all the commands related to Homebrew are not working because it seems my system seems to be looking for ruby in the .asdf file (this version of ruby was 2.5.0) is pointing using .asdf
I updated .asdf to now use 2.5.1 (so now working - but my machine now has multiple copies of 2.5.1)
My conclusion is that I have multiple copies of ruby on my machine. - one set for rbenv/homebrew - one set for .asdf
Question: 1- should i have both of these? 2- I would prefer to remove .asdf ? a- how do i do that? b- once I do that, what do I need to do to get rbenv/homebrew working?