1. The 1.mac itself has ruby’s environment, so it does not need to be installed. At the same time, it detects version information:
$ gem -v 18.104.22.168 $ ruby -v ruby 2.0.0p648 (2015-12-16 revision 53162) [universal.x86_64-darwin16]
2. Use Taobao image:
$ gem sources -l *** CURRENT SOURCES *** https://ruby.taobao.org/
3. Install sass:
$ gem install sass ERROR: While executing gem ... (Gem::DependencyError) Unable to resolve dependencies: sass requires sass-listen (~> 4.0.0)
I would like to ask why the installation was not successful. And how to install successfully, thank you
Taobao source has long been out of use, changeRuby ChinaOr direct official sources.