-
Notifications
You must be signed in to change notification settings - Fork 809
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Write a Ruby environment setup guide #399
Comments
Here's a decent guide on how to setup RVM on Ubuntu (ignore the rails part). |
I can't overemphasize how strongly I recommend RVM. When you are using Ruby for development (and otherwise in user space), you should not be interacting with the system Ruby. The system Ruby is for system things. If you are using "sudo" to install gems, you are mucking with the system Ruby and venturing into dangerous territory. This guide should make that point and make it very strongly. |
Ruby install instructions for Alpine Linux:
Captured from the following PR: #254. |
Related to #884. |
Installation is always a challenge, especially for users unfamiliar with an environment. Since many of the setup guides ask the user to have Ruby installed and to install one or more gems, we need a page that we can point the reader to when things aren't going as expected.
This page should cover the following:
Once the reader gets through these tasks on their system, they should have no problem installing and running a Ruby application.
We should consider the following environments:
Part of this guide should cover RVM as an alternative choice for setting up Ruby on *nix systems (including Cygwin) and when it's use is appropriate.
To cite an example of one of the challenges readers are running into, on Cygwin, gems install into $HOME/.gem with binstubs in $HOME/bin. However, $HOME/bin is not on the user's PATH by default. Thus, after installing the gem, the command (such as
asciidoctor
) cannot be immediately used. This causes confusion (and despair) for the user.For background on this issue, see asciidoctor/asciidoctor-pdf#208 and http://discuss.asciidoctor.org/Gem-paths-craziness-on-cygwin-td3425.html.
The text was updated successfully, but these errors were encountered: