سؤال

I'm a complete newbie when it comes to working with gems so pardon me if my understanding in the subject is off.

I already installed Susy 1.0.9 and was hoping to update it to Susy 2.0.

I tried gem install susy --pre and it successfully installed Susy 2.0 along with the required versions of SASS and Compass. Though when I do gem list, it still shows Susy 1.0.9 and the SASS Version was also not updated.

Any ideas on how to properly update Susy, SASS and Compass? TIA

هل كانت مفيدة؟

المحلول

Fixed it. It seems that if you add sudo when installing gems, it installs the gem on a different directory from the one used when you don't use sudo. I saw this when I did sudo gem list and it displayed different results from a normal gem list command.

To be able to add gems without sudo I just did chown -R [current_user] [ruby_directory]

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top