Closed SaraGinsburg closed 2 years ago
Hi @SaraGinsburg , I just sent you an email, but I'll repeat it here for any others who might be wondering the same thing.
Thanks for buying Ruby on Mac.
The Basic version does not automatically install any gems. Only the Prime version does.
The Basic version sets things up so that you are able to install gems, but it's up to you to install them manually.
Here's how you can install Rails:
Quit and restart Terminal
Verify you're using Ruby 3.1.1:
ruby -v
If it doesn't say 3.1.1, switch to it manually:
chruby 3.1.1
gem install rails
rails -v
For anyone else seeing something similar, the issue was that this person had changed their Terminal preferences for "shells open with" from "Default login shell" to "Command".
When they first ran Ruby on Mac, it detected zsh
as their shell, but then they switched to bash
. The solution involved 2 steps:
Switch back to zsh:
chsh -s /bin/zsh
Set the Terminal preferences back to the default settings: Here's a screenshot of what the "shells open with" preference should look like:
Here's an article that might be helpful: https://www.moncefbelyamani.com/which-shell-am-i-using-how-can-i-switch/
In which version of Ruby on Mac did you find the bug? Basic, Plus, or Prime?Basic
Describe the bug A clear and concise description of what the bug is. _**Rails is not currently installed on this system. To get the latest version, simply type:
You can then rerun your "rails" command.**_
Details about your Mac Before you ran the script for the first time, did you already have development tools like Homebrew installed, or did you run it on a fresh and clean macOS? I had Homebrew
Please attach the Ruby on Mac log file The log file will be called either
rom-basic.log
, orrom-plus.log
, orrom-prime.log
. You can find it in your Mac's Home folder.