Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/ruby-on-rails/59.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ruby on rails 在任何源中都找不到stripe-2.2.0(Bundler::GemNotFound)_Ruby On Rails_Stripe Payments - Fatal编程技术网

Ruby on rails 在任何源中都找不到stripe-2.2.0(Bundler::GemNotFound)

Ruby on rails 在任何源中都找不到stripe-2.2.0(Bundler::GemNotFound),ruby-on-rails,stripe-payments,Ruby On Rails,Stripe Payments,我正在使用Rails3.2.16和Ruby1.9.3。当我将stripe gem添加到gemfile并运行bundle install时,安装了stripe的2.2.0版 当我运行rails s时,出现以下错误: Could not find stripe-2.2.0 in any of the sources (Bundler::GemNotFound) 我应该将特定版本安装到Ruby版本的1.9.3吗?在版本中放弃了对Ruby 1.9的支持 如果您仍然使用Ruby 1.9,可以在1.x分支

我正在使用Rails3.2.16和Ruby1.9.3。当我将stripe gem添加到gemfile并运行
bundle install
时,安装了stripe的2.2.0版

当我运行
rails s
时,出现以下错误:

Could not find stripe-2.2.0 in any of the sources (Bundler::GemNotFound)
我应该将特定版本安装到Ruby版本的1.9.3吗?

在版本中放弃了对Ruby 1.9的支持


如果您仍然使用Ruby 1.9,可以在1.x分支(1.58.0)中安装最新版本。

@sawa-ran??为什么是负号呢?谢谢,每当我运行gem安装stripe-v'1.58.0'时,我都会获取:stripe-1.58.0.gem(100%)错误:错误:安装stripe:mime类型数据需要Ruby版本>=2.0。