首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >与omega分主题一起工作,并有困难使苏西,萨斯和罗盘正常工作。

与omega分主题一起工作,并有困难使苏西,萨斯和罗盘正常工作。
EN

Stack Overflow用户
提问于 2013-07-17 08:59:06
回答 1查看 349关注 0票数 0

我在做欧米茄副主题,我很难让苏西、萨斯和指南针正常工作。

每次我到终端执行$ 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:in get_binding' /Library/Ruby/Gems/1.8/gems/compass-0.12.2/lib/compass/configuration/serialization.rb:20:inget_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:inwith_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:in new_from_file' /Library/Ruby/Gems/1.8/gems/compass-0.12.2/lib/compass/configuration/helpers.rb:42:inconfiguration_for‘add_project_configuration' /Library/Ruby/Gems/1.8/gems/compass-0.12.2/lib/compass/commands/project_base.rb:31:inadd_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:in initialize' /Library/Ruby/Gems/1.8/gems/compass-0.12.2/lib/compass/exec/sub_command_ui.rb:42:innew‘/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:inrun!’/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

谢谢你提前提供帮助。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2013-07-17 17:12:03

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

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/17695436

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档