Installing the GTK2 Gem Using RVM
I recently experienced substantial difficulty trying to install the gtk2 gem on a Ubuntu 16.04 laptop. Attempts to simply run ‘gem install gtk2‘ proved perplexingly fruitless.
Eventually I suspected that while the gem was installed, it may not have been installed within the gem collections for the appropriate ruby version I was using under rvm, since the error was cast from a directory contained within a ‘.rvm’ folder. After some digging, I found that the following command successfully installed the gem under the appropriate ruby version within rvm which I was using:
rvm all do gem install gtk2












