在任何来源中都找不到chunky_png-1.3.3

时间:2015-01-08 12:00:57

标签: ruby terminal zurb-foundation gem-bundler

当我尝试在终端上运行新的Foundation Projekt时,上面的这一行似乎使我的projekt无法正常运行。整个答案在这里:

xxxxxMacBookAir:htdocs xxxxx$ foundation new _lutz2015
Creating ./_lutz2015
      create  _lutz2015
Cloning into '_lutz2015'...
remote: Counting objects: 117, done.
remote: Total 117 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (117/117), 40.07 KiB | 0 bytes/s, done.
Resolving deltas: 100% (46/46), done.
Checking connectivity... done.
Installing dependencies with bower...
         run  compass compile from "./_lutz2015"
/Users/xxxxx/.rvm/gems/ruby-2.1.2/gems/bundler-1.7.2/lib/bundler/spec_set.rb:92:in `block in materialize': Could not find chunky_png-1.3.3 in any of the sources (Bundler::GemNotFound)
    from /Users/xxxxx/.rvm/gems/ruby-2.1.2/gems/bundler-1.7.2/lib/bundler/spec_set.rb:85:in `map!'
    from /Users/xxxxx/.rvm/gems/ruby-2.1.2/gems/bundler-1.7.2/lib/bundler/spec_set.rb:85:in `materialize'
    from /Users/xxxxx/.rvm/gems/ruby-2.1.2/gems/bundler-1.7.2/lib/bundler/definition.rb:132:in `specs'
    from /Users/xxxxx/.rvm/gems/ruby-2.1.2/gems/bundler-1.7.2/lib/bundler/definition.rb:177:in `specs_for'
    from /Users/xxxxx/.rvm/gems/ruby-2.1.2/gems/bundler-1.7.2/lib/bundler/runtime.rb:13:in `setup'
    from /Users/xxxxx/.rvm/gems/ruby-2.1.2/gems/bundler-1.7.2/lib/bundler.rb:128:in `setup'
    from /Users/xxxxx/.rvm/gems/ruby-2.1.2/gems/bundler-1.7.2/lib/bundler.rb:133:in `require'
    from /Users/xxxxx/.rvm/gems/ruby-2.1.2/gems/compass-1.0.1/bin/compass:26:in `<top (required)>'
    from /Users/xxxxx/.rvm/gems/ruby-2.1.2/bin/compass:23:in `load'
    from /Users/xxxxx/.rvm/gems/ruby-2.1.2/bin/compass:23:in `<main>'
    from /Users/xxxxx/.rvm/gems/ruby-2.1.2/bin/ruby_executable_hooks:15:in `eval'
    from /Users/xxxxx/.rvm/gems/ruby-2.1.2/bin/ruby_executable_hooks:15:in `<main>'
./_lutz2015 was created
xxxxxMacBookAir:htdocs xxxxx$ 

1 个答案:

答案 0 :(得分:2)

我遇到了同样的问题。但您应该cd进入'_lutz2015'并运行bundle(每个项目只运行一次)。这将解决所有依赖关系,并且更容易。基本上,将安装以下内容(当然,您需要安装捆绑器):

chunky_png x.x.x
multi_json x.x.x
sass x.x.x
compass-core x.x.x
compass-import-once x.x.x
rb-fsevent x.x.x
ffi x.x.x
rb-inotify x.x.x