Re: Gem paths craziness on cygwin

Posted by wolandscat on
URL: https://discuss.asciidoctor.org/Gem-paths-craziness-on-cygwin-tp3425p3432.html

Aha... I have to say that even after carefully reading the rvm examples and basics pages, and running most of the commands, nowhere is it obvious that if you use the system ruby, rvm is not really doing anything. So that's another trap for first-timers.

There really needs to be a neon-light page somewhere on ruby, gems, rvm and the site of every tool written in ruby that says: WAIT, STOP don't even think about touching any of these things unless you have built your ruby ecosystem following these steps:

0. determine intended gem install area (somehow) & set up shell env accordingly
1. install rvm ...
2. rvm managed install of ruby
3. set up bundler ...
4. general method for install / uninstall of X

Like any normal cygwin user, I use the cygwin installer for everything (and make no mistake, it works just as well as apt-get or anything on any Linux server). But it's probably the wrong thing to use with ruby/gems, which I am starting to see is really its own ecosystem.

Although Asciidoctor is just one of probably thousands of Ruby tools out there, maybe it could pioneer such a page - it would really help. Ruby may be common amongst some, but in our community, which has thousands of developers all over the world, only our Japanese group uses it that I am aware of (so far). However, many more of us will use Asciidoctor and related tools. So you can see the challenge...