seeing different gem lists in cygwin and powershell seeing different gem lists in cygwin and powershell powershell powershell

seeing different gem lists in cygwin and powershell


I can only guess based on what information you have given, but it sounds like you have a separate version of ruby installed in cygwin and windows.

One easy way to tell what's going on is to do a ruby -v and gem environment in both shells, which will tell you which ruby version you are using, and what version ruby thinks it's using, and where Rubygems is looking for gems.

To ensure consistency in gems on windows, I would suggest having one ruby installed and using Bundler to maintain your gems through Gemfile. Remove the ruby you installed through cygwin, and ensure the ruby you use is the same one in both environments (try ruby -v)

However, I'm not sure why you're getting bundler errors based on the information you've given.

EDIT AFTER UPDATE

So you definitely have two different versions of ruby installed, each with their own unique set of gems. You cannot use the windows version in cygwin, so what I would do would be uninstall the cygwin version (use the cygwin setup.exe to do this! If you don't have it, download it again from the cygwin website. You can indicate packages to remove as well as add) and make sure the /cygdrive/c/ruby193/bin is in your cygwin path, so that which ruby and which gem points at this directory.