Ruby on rails Ruby加载必需项错误

Ruby on rails Ruby加载必需项错误,ruby-on-rails,ruby,git,Ruby On Rails,Ruby,Git,我正在尝试从“”运行脚本 您可以尝试自己跟踪它并测试结果 我完全遵循了它,但是,当我打开程序时,我得到了这个,我不知道如何修复它 c:\Ruby200-x64\devkit>rbtc_simple C:/Ruby200-x64/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require ': cannot load such file -- bundler (LoadError) from C:/Ruby

我正在尝试从“”运行脚本

您可以尝试自己跟踪它并测试结果

我完全遵循了它,但是,当我打开程序时,我得到了这个,我不知道如何修复它

c:\Ruby200-x64\devkit>rbtc_simple
C:/Ruby200-x64/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require
': cannot load such file -- bundler (LoadError)
       from C:/Ruby200-x64/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:5
5:in `require'
       from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/rbtc_arbitrage_simple-2.1.1
/lib/rbtc_arbitrage.rb:1:in `<top (required)>'
        from C:/Ruby200-x64/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:5
5:in `require'
       from C:/Ruby200-x64/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:5
5:in `require'
       from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/rbtc_arbitrage_simple-2.1.1
/bin/rbtc_simple:4:in `<top (required)>'
        from C:/Ruby200-x64/bin/rbtc_simple:23:in `load'
       from C:/Ruby200-x64/bin/rbtc_simple:23:in `<main>'
c:\Ruby200-x64\devkit>rbtc\u简单
C:/Ruby200-x64/lib/ruby/2.0.0/rubygems/core\u ext/kernel\u require.rb:55:in`require
“:无法加载这样的文件--绑定器(LoadError)
来自C:/Ruby200-x64/lib/ruby/2.0.0/rubygems/core\u ext/kernel\u require.rb:5
5:在'require'中
来自C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/rbtc\u套利\u simple-2.1.1
/lib/rbtc_套利。rb:1:in`'
来自C:/Ruby200-x64/lib/ruby/2.0.0/rubygems/core\u ext/kernel\u require.rb:5
5:在'require'中
来自C:/Ruby200-x64/lib/ruby/2.0.0/rubygems/core\u ext/kernel\u require.rb:5
5:在'require'中
来自C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/rbtc\u套利\u simple-2.1.1
/bin/rbtc_简单:4:in`'
从C:/Ruby200-x64/bin/rbtc_simple:23:in'load'
从C:/Ruby200-x64/bin/rbtc_简单:23:in`'
我正在运行64位Ruby和64位devkit


我在C:\Ruby200\bin中运行了
gitinit
,我认为这是正确的文件夹。我如何知道在哪里运行它?

您丢失了错误消息中显示的
bundler
gem:

require:无法加载此文件--捆绑程序


要解决此问题,您可以将bundler安装到您的gems:
gem安装bundler

您是否运行了
gem安装rbtc\u套利
?是的,我已经运行了该命令。只要重新运行它,以防仍然出现相同的错误:
gem安装rbtc\u套利\u simple
将为您提供
rbtc\u simple
-因此您应该使用
rbtc
gem安装rbtc\u套利
-换句话说-尝试
gem安装rbtc\u套利\u simple
来获得
rbtc\u simple
您应该执行的命令运行
bundle安装
以获取项目所需的所有gem。这似乎是bundler和使用ruby 2.0的universal gems的问题-您可以使用较旧版本的ruby,也可以单独安装gems-因此,现在根据错误消息:
gem安装bitstamp
-然后运行
bundle再次安装
,并读取下一个错误。不是最好的,但它应该能让你达到目的。