简体   繁体   English

找不到带有狂欢1.1.1的宝石“狂欢-paypal-express”

[英]Could not find gem 'spree-paypal-express' with spree 1.1.1

Hi I have installed and working Spree 1.1.1. 嗨,我已经安装并运行Spree 1.1.1。 and want to integrate PayPal to the engine. 并希望将PayPal集成到引擎中。 and when i am trying to install 'spree_paypal_express' the console is showing the below message please help me out. 当我尝试安装“ spree_paypal_express”时,控制台显示以下消息,请帮帮我。

Could not find gem 'spree-paypal-express (>= 0) x86-mingw32' in the gems available on this machine.

There are a few possible issues with this. 这可能有一些问题。

First, there may be an issue with your Gemfile. 首先,您的Gemfile可能有问题。 For example, 例如,

-- the gem may not be in the gemfile, -宝石可能不在宝石文件中,

-- you may have misspelled the name of the gem in your gemfile -您可能在gemfile中拼错了宝石的名称

-- you may have extra whitespace in the gem name (eg, gem 'spree-paypal-express ' <- note extra space) -您在gem名称中可能有多余的空格(例如, gem 'spree-paypal-express ' <-注意多余的空格)

Here are some things you can try (after checking the above first to make sure your Gemfile is correct): 您可以尝试以下操作(首先检查上述内容以确保您的Gemfile正确之后):

  • Remove all your gems (go to the gems folder of your ruby, remove the specifications folder and the gems folder -- or create a new gemset using rvm) 删除所有宝石(转到红宝石的gems文件夹,删除specs文件夹和gems文件夹-或使用rvm创建新的gemset)
  • gem list should be more or less empty 宝石清单应该或多或少是空的
  • gem install bundler gem安装捆绑器
  • And try to bundle install again from scratch. 并尝试从头开始重新捆绑安装。

I have manually downloaded zip folder from github repository and extracted. 我已经从github仓库手动下载了zip文件夹并解压缩了。 by going in to the directory run gem build spree_paypal_express.gemspec then it will generate some files in which spree_paypal_express-1.1.0.gem will be one of them. 通过进入运行gem build spree_paypal_express.gemspec的目录,它将生成一些文件,其中spree_paypal_express-1.1.0.gem将是其中的一个。 so later run gem install spree_paypal_express-1.1.0.gem 所以以后运行gem install spree_paypal_express-1.1.0.gem

then you are ready to go... you can check by gem list 那么您就可以开始了...您可以按gem list检查

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Spree 安装错误:找不到 gem &#39;spree_skrill (&gt;= 0) ruby​​&#39; - Spree Install Error: Could not find gem 'spree_skrill (>= 0) ruby' spree-paypal-express失败,出现“网关错误:转换缺失:en.the_totals_of_the_cart_item_amounts_do_not_match_order_amounts” - spree-paypal-express fails with “Gateway Error: translation missing: en.the_totals_of_the_cart_item_amounts_do_not_match_order_amounts ” Spree找不到表&#39;spree_countries&#39; - Spree Could not find table 'spree_countries' Bundler找不到与宝石spree_core兼容的版本(Spree Ruby on Rails) - Bundler could not find compatible versions for gem spree_core (Spree Ruby on Rails) Bundler找不到与宝石“ rails”兼容的版本:大礼包 - Bundler could not find compatible versions for gem “rails”: for spree 找不到与宝石“ spree_core”兼容的版本 - Could not find compatible versions for gem “spree_core” 找不到宝石&#39;spree_core(〜&gt; 2.0.0.beta)红宝石 - Could not find gem 'spree_core (~> 2.0.0.beta) ruby spree_paypal_express - Spree::Admin::PaymentsControllerDecorator (NameError) - spree_paypal_express - Spree::Admin::PaymentsControllerDecorator (NameError) Spree-Spree_Paypal_Express-超类必须是一个类(给定模块) - Spree - Spree_Paypal_Express - superclass must be a Class (Module given) rails错误Bundler找不到与宝石宝石“ spree_backend”兼容的版本 - rails error Bundler could not find compatible versions for gem gem “spree_backend”
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM