Fix that mise settings wouldn't be applied before installing Ruby
So we'd be manually compiling.
This commit is contained in:
@@ -50,9 +50,9 @@ case "$1" in
|
|||||||
ruby)
|
ruby)
|
||||||
echo -e "Installing Ruby on Rails...\n"
|
echo -e "Installing Ruby on Rails...\n"
|
||||||
omarchy-pkg-add libyaml
|
omarchy-pkg-add libyaml
|
||||||
mise use --global ruby@latest
|
|
||||||
mise settings add idiomatic_version_file_enable_tools ruby
|
|
||||||
mise settings add ruby.compile false
|
mise settings add ruby.compile false
|
||||||
|
mise settings add idiomatic_version_file_enable_tools ruby
|
||||||
|
mise use --global ruby@latest
|
||||||
echo "gem: --no-document" >~/.gemrc
|
echo "gem: --no-document" >~/.gemrc
|
||||||
mise x ruby -- gem install rails --no-document
|
mise x ruby -- gem install rails --no-document
|
||||||
echo -e "\nYou can now run: rails new myproject"
|
echo -e "\nYou can now run: rails new myproject"
|
||||||
|
|||||||
Reference in New Issue
Block a user