欧米茄指南针库错误 [英] Omega Compass Library error

查看:165
本文介绍了欧米茄指南针库错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在通过动议来了解杜撰的Omega 4主题。我通过drush做了子主题,我有rvm,ruby,我相信所有的宝石都安装了。

I am going through the motions to understanding the Omega 4 Theme in drupal. I did the sub-theme through drush and I have rvm, ruby and I believe all the gems installed.

我应该补充说,我有rgbapng&罗盘安装我不熟悉@global虽然...

I should add that I have rgbapng & compass installed. I am not familiar with the @global though...

但是,当我去网站我看到这个错误:

However when I go to the site I see this error:

Syntax error: File to import not found or unreadable: rpbapng.
Load paths:
/Library/Webserver/Documents/tpw/sites/all/themes/omega/omega/sass
/Users/User/.rvm/gems/ruby-1.9.3-p484@global/gems/compass-0.12.2/frameworks/blueprint/stylesheets
/Users/User/.rvm/gems/ruby-1.9.3-p484@global/gems/compass-0.12.2/frameworks/compass/stylesheets
Compass::SpriteImporter
on line 1 of     /Library/Webserver/Documents/tpw/sites/all/themes/omega/omega/sass/omega.development.scss

1: //Library/Webserver/Documents/tpw/sites/all/themes/omega/omega/sass/omega.development.scss

我有罗盘安装。它适用于另一个网站。
我不知道要检查,测试或重新安装。有人有这样的经验吗?

I have compass installed. It works for another site as well. I am not sure what to check, test or reinstall. Does someone have experience with this?

谢谢

推荐答案

在一个dev目录中更新Omega之后,也有类似的经历,似乎已经改变了宝石列表,所有这些都破了。

I had a similar experience after updating Omega in a dev directory, it seemed to have changed the gem list, and all hell broke loose.

我备份了我的子主题,残疾人我的子主题和欧米加,然后从服务器中删除。我下载了我最初使用的相同版本的欧米加,遵循创建子主题的说明,使用相同的名称和选项,我的子主题和omega-guard开始工作,没有错误。

I backed up my subtheme, the disabled my subtheme and omega, then deleted both from the server. I downloaded the same version of omega that I was originally using, followed the instructions for creating a subtheme, used the same name and options for my subtheme and omega-guard started working with no errors.

然后我能够挽救我的sass文件和其余的子主题。小心只能恢复Drupal的特定部分的子主题,而不是config.rb,Gemfile等。不知道这是否会破坏任何东西,但是在这一天的这个时候,我没有机会。

I was then able to salvage my sass files and the rest of my subtheme. Be careful to only restore the Drupal specific portions of the subtheme, not the config.rb, Gemfile, etc. Not sure if this will break anything, but at this time of day, I am not taking chances.

快速笔记,我不需要重新启动。

A quick note, I did not need to reboot.

这篇关于欧米茄指南针库错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆