0

我正在尝试为 css 灯箱compass-css-lightbox安装指南针插件,但我遇到了 gem install 的问题。

$sudo gem install css-lightbox

Fetching: css-lightbox-0.2.0.gem (100%)
Successfully installed css-lightbox-0.2.0
Installing ri documentation for css-lightbox-0.2.0
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rdoc/rdoc.rb:280: warning: conflicting chdir during another chdir block
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rdoc/rdoc.rb:287: warning: conflicting chdir during another chdir block
Done installing documentation for css-lightbox after 0 seconds
1 gem installed

compass install css-lightbox
No such framework: "css-lightbox"
4

1 回答 1

1

您应该已经添加require 'css-lightbox'到您的 Compass 配置文件中,例如config.rb.

于 2013-06-18T12:08:18.697 回答