Search code examples
ruby-on-rails-4cloud9-ide

Rails In Cloud 9 - How To Access Gem Directory


I have to edit gem source code but I can't access the directory in cloud 9.

I ran echo $GEM_HOME but I don't know where /usr/local/rvm/gems is in cloud 9.

Thanks.


Solution

  • You can find the gem directory for the current version of ruby by running rvm gemdir. As to 'where' a directory is, you can navigate to it using the terminal, typing in cd /usr/local/rvm/gems will get to you the directory.