mac 安装 nvm 和ruby、sass的问题

之前安装好好地,这次出了个问题,始终无法成功。

类似 :https://github.com/creationix/nvm/issues/576
后来看到

OK, I've done the same thing than @alfredbez and it works:

Like he said, I must to add the following lines at the end of the ~/.bash_profile file:

export NVM_DIR=~/.nvm
source ~/.nvm/nvm.sh
Maybe the author @creationix should add these instructions in the README.markdown file.

Thanks to you !

这块,恩,按照问题解答来,就OK了。

linux安装ruby ,直接rvm就可以了(rvm install ruby最新版本号),安装sass时候,用gem(gem install sass),gem改一下source,如果直接 curl安装ruby,版本不对。
\curl -sSL https://get.rvm.io | bash -s stable
rvm list known
rvm install ruby-2.3.1

发表评论

电子邮件地址不会被公开。 必填项已用*标注