Quantcast
Channel: Active questions tagged ruby - Stack Overflow
Viewing all articles
Browse latest Browse all 4628

Asdf wont switch local version based on tool-versions or using the local command

$
0
0

I downloaded asdf the other day and am trying to use it with a ruby on rails project I downloaded from Github.When I run asdf install, I get this response:

firebase 9.10.0 is already installedruby 2.7.2 is already installed

Then I run rails s :

No preset version installed for command railsPlease install a version by running one of the following:asdf install ruby 2.7.2or add one of the following versions in your config file at /Users/******/Desktop/****/.tool-versionsruby 3.0.1

The project runs on ruby 2.7.2.

.tool-versions:

ruby 2.7.2node 12.18.3

I installed asdf with homebrew and use oh-my-zhs with the asdf plugin.

EDIT:running

asdf install ruby 2.7.2

just says

ruby 2.7.2 is already installed

Viewing all articles
Browse latest Browse all 4628

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>