rubyforgood / inkind-admin

A project serving Community Education Partnerships - https://www.cep.ngo/ . This Rails application presents an admin interface for CEP to manage their volunteers and students. And provides a GraphQL backend for https://github.com/rubyforgood/inkind-volunteer .
MIT License
9 stars 27 forks source link

Trouble Updating to Ruby 3.0.2 with asdf --> SOLVED! #51

Closed meg-gutshall closed 3 years ago

meg-gutshall commented 3 years ago

Summary

This is primarily an add for documentation. I would add it to the Wiki but I don't have the appropriate permissions.

Issue

I had some issues updating to Ruby 3.0.2 using asdf as my Ruby version manager.

When writing in the command asdf list all ruby, 3.0.2 was not included and 3.0.1 was returned when I wrote asdf latest ruby.

Solution

I found a resource online that suggested running asdf plugin update ruby in the terminal. After that I was able to run asdf install ruby 3.0.2 with no problem! I navigated to my local copy of the repo and after typing ruby -v received back the correct 3.0.2 version.

I hope this helps anyone else how gets stuck here!

meg-gutshall commented 3 years ago

FYI @garettarrowood

garettarrowood commented 3 years ago

I'll investigate tomorrow and see if I have the ability to change your access rights with the Wiki pages.

ghost commented 3 years ago

@garettarrowood This issue has probably been solved, and we may close it, I believe? If anyone in the future has the same issue, they can follow this:

  1. Install Ruby 3.0.2 from asdf
    asdf install ruby 3.0.2
  2. If any error pops up, asdf plugin update ruby
  3. Set Ruby 3.0.2 as global (although I would recommend local)
    asdf global ruby 3.0.2    # or asdf local ruby 3.0.2
  4. Run the remaining commands as given in the README.md file.
garettarrowood commented 3 years ago

Awesome. Thank you @Ashvith !