我在做欧米茄副主题,我很难让苏西、萨斯和指南针正常工作。
每次我到终端执行$ compass watch
时,都会得到下一个结果:
/Library/Ruby/Site/1.8/rubygems/core_ext/kernel_require.rb:第51行上的LoadError没有这样的文件来加载
我有使用RVM的不同版本的Ruby,并且仍然有相同的问题。
下一个是--trace
命令的结果:
/Library/Ruby/Site/1.8/rubygems/core_ext/kernel_require.rb:51:in
require' /Library/Ruby/Gems/1.8/gems/compass-0.12.2/lib/compass/configuration/data.rb:161:in
需要‘/Users/----/----/----/sites/all/themes/----/config.rb:21:inget_binding' /Library/Ruby/Gems/1.8/gems/compass-0.12.2/lib/compass/configuration/serialization.rb:20:in
get_binding’/Library/Ruby/Gems/1.8/gems/compass-0.12.2/lib/compass/configuration/serialization.rb:23:inparse_string' /Library/Ruby/Gems/1.8/gems/compass-0.12.2/lib/compass/configuration/serialization.rb:15:in
_parse‘/Library/Ruby/Gems/1.8/gems/compass-0.12.2/lib/compass/configuration/serialization.rb:14:inopen' /Library/Ruby/Gems/1.8/gems/compass-0.12.2/lib/compass/configuration/serialization.rb:14:in
_parse‘/Library/Ruby/Gems/1.8/gems/compass-0.12.2/lib/compass/configuration/file_data.rb:7:innew_from_file' /Library/Ruby/Gems/1.8/gems/compass-0.12.2/lib/compass/configuration/inheritance.rb:204:in
with_defaults’/Library/Ruby/Gems/1.8/gems/compass-0.12.2/lib/compass/configuration/file_data.rb:6:在/Library/Ruby/Gems/1.8/gems/compass-0.12.2/lib/compass/configuration/helpers.rb:97:in /Library/Ruby/Gems/1.8/gems/compass-0.12.2/lib/compass/commands/project_base.rb:25:innew_from_file' /Library/Ruby/Gems/1.8/gems/compass-0.12.2/lib/compass/configuration/helpers.rb:42:in
configuration_for‘add_project_configuration' /Library/Ruby/Gems/1.8/gems/compass-0.12.2/lib/compass/commands/project_base.rb:31:in
add_project_configuration’configure!' /Library/Ruby/Gems/1.8/gems/compass-0.12.2/lib/compass/commands/project_base.rb:15:inconfigure!' /Library/Ruby/Gems/1.8/gems/compass-0.12.2/lib/compass/commands/project_base.rb:15:in
中,初始化/库/Ruby/gems/1.8/gems/指南针-0.12.2/lib/compass/commands/update_project.rb:37:ininitialize' /Library/Ruby/Gems/1.8/gems/compass-0.12.2/lib/compass/exec/sub_command_ui.rb:42:in
new‘/Library/Ruby/Gems/1.8/gems/compass-0.12.2/lib/compass/exec/sub_command_ui.rb:42:inperform!' /Library/Ruby/Gems/1.8/gems/compass-0.12.2/lib/compass/exec/sub_command_ui.rb:15:in
run!’/Library/Ruby/Gems/1.8/gems/compass-0.12.2/bin/compass:30 /Library/Ruby/gems/1.8/gems/罗盘-0.12.2/call' /Library/Ruby/Gems/1.8/gems/compass-0.12.2/bin/compass:44 /usr/bin/compass:23:in
负载/usr/bin/罗经:23
谢谢你提前提供帮助。
发布于 2013-07-17 17:12:03
我的问题很简单,我使用了错误的命令来安装rgbapng,而不是使用gem install rgbang
,您应该使用gem install compass-rgbang
。
https://stackoverflow.com/questions/17695436
复制相似问题