Install RVM on Windows

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Install RVM on Windows

nopria
Following the instructions for a brand new installation of Asciidoctor on Windows 10, the step after the installation of Ruby is

"Before installing Asciidoctor using gem install, you should set up RVM to install Ruby in your home directory (i.e., user space)."

The RVM instruction to install RVM stable with Ruby on "any other system" than Ubuntu is the command:

\curl -sSL https://get.rvm.io | bash -s stable --ruby

but this command does not work with standard Windows Command Prompt, nor with "Start Command Prompt with Ruby" which appeared after Ruby installation.

How can I install RVM at this point?

Thanks in advance.
Reply | Threaded
Open this post in threaded view
|

Re: Install RVM on Windows

mojavelinux
Administrator
RVM is not available on Windows. You have three alternatives:

1. Install Ruby using the Ruby Installer for Windows
2. Use uru (a Ruby picker for Windows) https://bitbucket.org/jonforums/uru/src/master/
3. Use Bash on Windows (either through the Ubuntu subsystem or cygwin) and install RVM from there

Best,

-Dan

On Tue, Sep 17, 2019 at 2:17 AM nopria [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Following the instructions for a brand new installation of Asciidoctor on Windows 10, the step after the installation of Ruby is

"Before installing Asciidoctor using gem install, you should set up RVM to install Ruby in your home directory (i.e., user space)."

The RVM instruction to install RVM stable with Ruby on "any other system" than Ubuntu is the command:

\curl -sSL https://get.rvm.io | bash -s stable --ruby

but this command does not work with standard Windows Command Prompt, nor with "Start Command Prompt with Ruby" which appeared after Ruby installation.

How can I install RVM at this point?

Thanks in advance.


If you reply to this email, your message will be added to the discussion below:
https://discuss.asciidoctor.org/Install-RVM-on-Windows-tp7150.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML


--
Dan Allen | @mojavelinux | https://twitter.com/mojavelinux
Reply | Threaded
Open this post in threaded view
|

Re: Install RVM on Windows

nopria
I already followed the first alternative (i.e. I installed Ruby using the installer for Windows "rubyinstaller-devkit-2.6.4-1-x64.exe"), this means that I do not need to install RVM? If so, shouldn't the Asciidoctor installation instructions for Windows be corrected?
Reply | Threaded
Open this post in threaded view
|

Re: Install RVM on Windows

mojavelinux
Administrator
It would be nice to have RVM on Windows, but the types of problems you get using Ruby on OSX and Linux aren't really present on Windows, so it's safe enough to just use the Ruby installer.

The documentation does talk about how to install Ruby on Windows.


If you feel there's room for improvement, feel free to propose an update.

Best,

-Dan

On Tue, Sep 17, 2019 at 3:39 AM nopria [via Asciidoctor :: Discussion] <[hidden email]> wrote:
I already followed the first alternative (i.e. I installed Ruby using the installer for Windows "rubyinstaller-devkit-2.6.4-1-x64.exe"), this means that I do not need to install RVM? If so, shouldn't the Asciidoctor installation instructions for Windows be corrected?


If you reply to this email, your message will be added to the discussion below:
https://discuss.asciidoctor.org/Install-RVM-on-Windows-tp7150p7152.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML


--
Dan Allen | @mojavelinux | https://twitter.com/mojavelinux