安装开源票证管理器Brimir

时间:2013-12-09 06:09:44

标签: ruby-on-rails ruby

我是ruby on rails的新手....我想安装BRIMIR创建的OPEN SOURCE TICKET MANAGER http://getbrimir.com/ ....我已经安装了ruby 1.9.3,bundler 1.0.10 ....但是当我尝试通过命令捆绑安装来安装gem时,它会显示以下致命错误

NOTE: Gem.source_index is deprecated, use Specification. It will be removed on o
r after 2011-11-01.
Gem.source_index called from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.0.10/
lib/bundler/shared_helpers.rb:3.
Fetching https://github.com/ivaldi/foundation_rails_helper.git
C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.0.10/lib/bundler/source.rb:560:in
``': No such file or directory - git clone "https://github.com/ivaldi/foundation
_rails_helper.git" "C:/Ruby193/lib/ruby/gems/1.9.1/cache/bundler/git/foundation_
rails_helper-c76b733ae8c7a4126f399e570cfc6ba3596f5359" --bare --no-hardlinks (Er
rno::ENOENT)
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.0.10/lib/bundler/sour
ce.rb:560:in `git'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.0.10/lib/bundler/sour
ce.rb:619:in `cache'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.0.10/lib/bundler/sour
ce.rb:532:in `specs'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.0.10/lib/bundler/defi
nition.rb:147:in `block in resolve'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.0.10/lib/bundler/defi
nition.rb:145:in `each'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.0.10/lib/bundler/defi
nition.rb:145:in `resolve'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.0.10/lib/bundler/defi
nition.rb:90:in `specs'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.0.10/lib/bundler/defi
nition.rb:85:in `resolve_remotely!'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.0.10/lib/bundler/inst
aller.rb:35:in `run'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.0.10/lib/bundler/inst
aller.rb:8:in `install'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.0.10/lib/bundler/cli.
rb:226:in `install'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.0.10/lib/bundler/vend
or/thor/task.rb:22:in `run'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.0.10/lib/bundler/vend
or/thor/invocation.rb:118:in `invoke_task'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.0.10/lib/bundler/vend
or/thor.rb:246:in `dispatch'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.0.10/lib/bundler/vend
or/thor/base.rb:389:in `start'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.0.10/bin/bundle:13:in
 `<top (required)>'
        from C:/Ruby193/bin/bundle:23:in `load'
        from C:/Ruby193/bin/bundle:23:in `<main>'

2 个答案:

答案 0 :(得分:1)

大多数宝石不喜欢在Windows中工作。您应该使用更好的操作系统(只有不同​​于Windows的操作系统)

答案 1 :(得分:0)

看到你的错误堆栈跟踪后,我猜你或者你没有在你的计算机上安装git,或者你没有设置它的路径。请仔细检查一下。之后,当我复制并粘贴此链接“https://github.com/ivaldi/foundation_rails_helper.git”时,我发现404错误。这意味着它试图克隆项目的url不再有效。你应该看看这个链接“https://github.com/ivaldi/brimir”并按照说明进行操作。