# Install Ruby # ###### tags: `language` `ruby` ## Install openssl & RVM ```bash brew install gpg2 curl -sSL https://rvm.io/mpapis.asc | gpg --import - curl -sSL https://rvm.io/pkuczynski.asc | gpg --import - rvm get stable ``` ## Install ruby-2.6.3 ```bash # Mac rvm install "ruby-2.6.3" --with-openssl-dir=$(brew --prefix openssl@1.1) ``` 參考:https://ruby-china.org/topics/39879 ## Install ruby-2.4.0 ```bash # Mac rvm install "ruby-2.4.0" --with-openssl-dir=$(brew --prefix openssl@1.1) ```
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up