When I tried to install the mysql2 gem (using "sudo gem install mysql2"), I was surprised not to find the gem listed in my "gem list".
After some googling I found out that the mysql2 gem was installed in my remote gems (look them up using "gem query --remote" or with "gem search mysql2 -r") and than I installed them from remote to local using "gem install --remote mysql2".
Now the mysql2 is listed in my gem list.
I am glad I found the solution, however, I don't really understand why the gem installed in remote gems in the first place or what the difference is. Googling did not return a good explanation.
Can someone please explain the difference to me?
Remote gems are really just those on the RubyForge or Github servers. Why it wouldn't install is beyond me, but know that there is no such thing as a remote gem, just gems installed on your machine and gems that you can download from a remote server.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With