Ruby Zurb基金会和X2B基金会;捆绑程序设置依赖项 在使用Bundler运行多个版本的基础之后,我能够创建一个新的项目,该项目依赖于 3.2.5>代码> 。
这是我的档案:Ruby Zurb基金会和X2B基金会;捆绑程序设置依赖项 在使用Bundler运行多个版本的基础之后,我能够创建一个新的项目,该项目依赖于 3.2.5>代码> 。,ruby,rubygems,bundler,zurb-foundation,Ruby,Rubygems,Bundler,Zurb Foundation,这是我的档案: source "https://rubygems.org" gem "zurb-foundation", "3.2.5" gem "compass" 然后我运行了bundle exec compass create-r zurb foundation--使用foundation,它创建了my Gemfile.lock文件: GEM remote: https://rubygems.org/
source "https://rubygems.org"
gem "zurb-foundation", "3.2.5"
gem "compass"
然后我运行了bundle exec compass create-r zurb foundation--使用foundation,它创建了my Gemfile.lock文件:
GEM
remote: https://rubygems.org/
specs:
chunky_png (1.2.7)
compass (0.12.2)
chunky_png (~> 1.2)
fssm (>= 0.2.7)
sass (~> 3.1)
fssm (0.2.9)
modular-scale (1.0.6)
compass (>= 0.12.1)
sass (>= 3.2.0)
sassy-math (>= 1.5)
rake (10.0.3)
sass (3.2.5)
sassy-math (1.5)
compass (~> 0.11)
zurb-foundation (3.2.5)
compass (>= 0.12.2)
modular-scale (= 1.0.6)
rake
sass (>= 3.2.0)
PLATFORMS
ruby
DEPENDENCIES
compass
zurb-foundation (= 3.2.5)
但是-在尝试编译(使用Codekit)之后,我得到了以下结果:
Compass was unable to compile one or more files in the project:
error app.scss (Line 1 of _settings.scss: File to import not found or unreadable: foundation/common/ratios.
Load paths:
/Users/chester/Sites/f3.2.5test/sass
/Library/Ruby/Gems/1.8/gems/compass-0.12.2/frameworks/blueprint/stylesheets
/Library/Ruby/Gems/1.8/gems/compass-0.12.2/frameworks/compass/stylesheets
/Library/Ruby/Gems/1.8/gems/zurb-foundation-4.0.5/scss
Compass::SpriteImporter)
overwrite app.css
(This action was triggered by a change to _settings.scss)
从外观上看,它仍在试图从4.0.5
中获得一些东西。作为旁注,我在尝试升级Foundation时收到了以下消息:
sudo gem update zurb-foundation
Updating installed gems
Updating zurb-foundation
Fetching: zurb-foundation-4.0.5.gem (100%)
Successfully installed zurb-foundation-4.0.5
Installing RDoc documentation for zurb-foundation-4.0.5
/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
Installing ri documentation for zurb-foundation-4.0.5
/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 zurb-foundation after 0 seconds
Gems updated: zurb-foundation
但是实际的文件看起来安装得很好gem list
bundler (1.3.2)
chunky_png (1.2.7)
compass (0.12.2)
fssm (0.2.10, 0.2.9)
modular-scale (1.0.6)
rake (10.0.3)
rubygems-update (2.0.2, 1.8.24)
sass (3.2.7, 3.2.5)
sassy-math (1.5)
zurb-foundation (4.0.5, 3.2.5, 3.2.4)
我可以创建/使用F4项目,但由于某些原因,任何F3项目看起来仍然引用F4(并出现那些不可读的错误)。任何帮助都将不胜感激。谢谢
更新
这似乎是一个代码工具包问题——因为使用标准的bundle exec compass watch
似乎工作得很好。开发人员还没有回答我在这方面提出的问题,所以任何其他“已经”得到这项工作的人都会让我有机会分享他们的见解。谢谢。修复!写