osx - Installing SASS on Yosemite -
i'm struggling error in command line while trying install sass.
i'm following sass website recommend type in command line:
sudo gem install sass
and here error got:
my-macbook-pro:~ username$ gem install sass error: not find valid gem 'sass' (>= 0), here why: unable download data https://rubygems.org/ - errno::etimedout: operation timed out - connect(2) (https://rubygems.org/latest_specs.4.8.gz) error: possible alternatives: sass
then when try test if installed command line:
sass -v
i got:
-bash: sass: command not found
i have 2015 macbook pro latest osx yosemite.
alternatively, how install sass manually? see trying download https://rubygems.org/latest_specs.4.8.gz.
thanks in advance help!
that's because servers serving gems blocked in china (for whatever reason is). easier way solve be:
- open terminal
gem sources -r https://rubygems.org/
gem sources -a https://ruby.taobao.org/
(this mirror of rubygems.org)gem update --system
sudo gem install sass
done. hope helps.
Comments
Post a Comment