我正在使用 omega 子主题,但无法使 susy、sass 和 compass 正常工作。
每次我去终端并执行时,$ compass watch
我都会得到下一个结果:
LoadError on line 51 of /Library/Ruby/Site/1.8/rubygems/core_ext/kernel_require.rb: no such file to load -- rgbapng 使用 --trace 运行以查看完整的回溯
我使用 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
require' /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:innew_from_file' /Library/Ruby/Gems/1.8/gems/compass-0.12.2/lib/compass/configuration/helpers.rb:42:in
configuration_for' /Library/Ruby/Gems/1.8/gems/compass -0.12.2/lib/compass/configuration/helpers.rb:97:inadd_project_configuration' /Library/Ruby/Gems/1.8/gems/compass-0.12.2/lib/compass/commands/project_base.rb:31:in
add_project_configuration' /Library/Ruby/Gems/1.8/gems/compass-0.12.2/lib/compass/commands/project_base.rb:25:inconfigure!' /Library/Ruby/Gems/1.8/gems/compass-0.12.2/lib/compass/commands/project_base.rb:15:in
初始化' /Library/Ruby/Gems/1.8/gems/compass-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/compass-0.12.2/bin/compass:44:incall' /Library/Ruby/Gems/1.8/gems/compass-0.12.2/bin/compass:44 /usr/bin/compass:23:in
load' /usr /bin/指南针:23
感谢您提前提供任何帮助。