0
我刚刚在我的Windows机器上安装Ruby Installer 2.3(x64),因为我需要SASS。
论“与红宝石启动命令提示符”中输入
gem install sass
,它显示了错误:无法在Windows计算机上使用ruby安装SASS
'gem' is not recognised.
请帮助
我刚刚在我的Windows机器上安装Ruby Installer 2.3(x64),因为我需要SASS。
论“与红宝石启动命令提示符”中输入
gem install sass
,它显示了错误:无法在Windows计算机上使用ruby安装SASS
'gem' is not recognised.
请帮助
尝试在命令行上运行ruby -v
。如果它抛出一个错误,尝试添加红宝石路径。要添加此项:
Computer
。properties
左上方Advanced System Settings
Environment Variables
在弹出C:\Ruby23-x64\bin
左右。复制路径。PATH
。edit
选项并在复制ruby路径之前添加分号;
。注意
你的Windows机器可能会稍有不同。我正在使用Windows 8上运行的Surface Pro 3。