为什么我不能用gem install安装css-lightbox指南针插件

时间:2013-06-18 11:05:05

标签: rubygems gem sass compass-sass

我正在尝试为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"

1 个答案:

答案 0 :(得分:1)

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