使用omega子主题并且无法使susy,sass和指南针正常工作

时间:2013-07-17 08:59:06

标签: ruby drupal compass-sass susy-compass

我正在使用omega子主题,我很难让susy,sass和指南针正常工作。

每次我去终端并执行$ compass watch我都会得到下一个结果:

  

/Library/Ruby/Site/1.8/rubygems/core_ext/kernel_require.rb第51行的LoadError:没有要加载的文件 - 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:in get_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:in parse_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:in open' /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:in new_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:in new_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:in add_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:in configure!' /Library/Ruby/Gems/1.8/gems/compass-0.12.2/lib/compass/commands/project_base.rb:15:in initialize'     /Library/Ruby/Gems/1.8/gems/compass-0.12.2/lib/compass/commands/update_project.rb:37:in initialize' /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:in perform!' /Library/Ruby/Gems/1.8/gems/compass-0.12.2/lib/compass/exec/sub_command_ui.rb:15:in运行!'     /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:in call' /Library/Ruby/Gems/1.8/gems/compass-0.12.2/bin/compass:44 /usr/bin/compass:23:in load'     的/ usr /斌/罗盘:23

感谢您提前提供任何帮助。

1 个答案:

答案 0 :(得分:1)

我的问题很简单,我使用错误的命令来安装rgbapng gem,而不是使用gem install rgbang你应该使用gem install compass-rgbang