0
我想我会试着用我的手来使用SASS,并且遇到问题,即使安装它(在Bluehost共享主机上,它不完全是Ritz)。Sass和Compass在共享主机上的设置
这是我得到的只是检查是否安装了它:
username [~/public_html/sites/all/themes]# sass -v
Sass 3.2.7 (Media Mark)
username [~/public_html/sites/all/themes]# compass -v
Unable to load Sass. Please install it with one of the following commands:
gem install sass --pre
/usr/lib64/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require': no such file to load -- sass (LoadError)
from /usr/lib64/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /home7/username/ruby/gems/gems/compass-0.12.2/bin/../lib/compass/dependencies.rb:6
from /home7/username/ruby/gems/gems/compass-0.12.2/bin/../lib/compass.rb:5:in `require'
from /home7/username/ruby/gems/gems/compass-0.12.2/bin/../lib/compass.rb:5
from /home7/username/ruby/gems/gems/compass-0.12.2/bin/../lib/compass.rb:4:in `each'
from /home7/username/ruby/gems/gems/compass-0.12.2/bin/../lib/compass.rb:4
from /home7/username/ruby/gems/gems/compass-0.12.2/bin/compass:20:in `require'
from /home7/username/ruby/gems/gems/compass-0.12.2/bin/compass:20
from /home7/username/ruby/gems/gems/compass-0.12.2/bin/compass:8:in `fallback_load_path'
from /home7/username/ruby/gems/gems/compass-0.12.2/bin/compass:19
我试图卸载,以不同的顺序重新安装,与 - 事先安装标志萨斯作为错误信息提示,自行安装指南针,并让指南针安装sass,结果相同。
我还没有使用这些工具,所以我不知道会发生什么,但我必须更新我的$ PATH才能让“sass”这样的命令起作用,所以我怀疑指南针是无法使用的找到sass什么的。希望对有经验的人来说,这是一件不容易的事情。