0

我是 sproutcore 的新手,并且按照教程中的说明正确安装了 sproutcore,包括从 rvm 到 ruby​​ 1.9.2 到所有 gems 依赖项。但是,每当我发出任何 sproutcore 命令时,它都会向我抛出这个错误。

sproutcore server fatal: Not a git repository (or any of the parent directories): .git fatal: Not a git repository (or any of the parent directories): .git fatal: Not a git repository (or any of the parent directories): .git fatal: Not a git repository (or any of the parent directories): .git /home/love/.rvm/gems/ruby-1.9.2-p320@global/gems/bundler-1.1.3/lib/bundler/rubygems_integration.rb:223:in `block in replace_bin_path': can't find executable sproutcore (Gem::Exception)
        from /home/love/.rvm/gems/gems/sproutcore-1.8.2/bin/sproutcore:16:in `<top (required)>'
        from /home/love/.rvm/gems/ruby-1.9.2-p320/bin/sproutcore:19:in `load'
        from /home/love/.rvm/gems/ruby-1.9.2-p320/bin/sproutcore:19:in `<main>'

希望有人能解决,在此先感谢。

4

1 回答 1

1

1.8.2 gem 存在问题,已修复并推高为 1.8.2.1

只需运行gem update sproutcore以获取最新版本。

查看博客更新了解更多详情:http: //blog.sproutcore.com/sproutcore-1-8-2-released/

于 2012-05-16T00:19:12.643 回答