捆扎机:"找不到BSON-1.4.0在任何来源和QUOT;找不到、来源、捆扎机、QUOT

由网友(一日就是一天)分享简介:我试图做一个捆绑安装,但我得到的错误找不到BSON-1.4.0中的任何​​一种资源。我相信BSON-1.4.0是mongoid〜> 2.0的要求这是在我的Gemfile。当我尝试创业板安装-v 1.4.0 BSON ,我得到的错误错误:无法找到一个有效的宝石BSON'(= 1.4.0),这是为什么:发现BSON(1...

我试图做一个捆绑安装,但我得到的错误 找不到BSON-1.4.0中的任何​​一种资源。 我相信BSON-1.4.0是mongoid〜> 2.0的要求这是在我的Gemfile。

当我尝试创业板安装-v 1.4.0 BSON ,我得到的错误

 错误:无法找到一个有效的宝石BSON'(= 1.4.0),这是为什么:
          发现BSON(1.4.0),但对于平台的JRuby
 

捆在我的开发机器(运行OSX 10.6.8)安装工作正常,但我在64位Amazon EC2实例有这个问题。

打包机 捆扎机 广东澳特生产

如果我尝试申请的早期版本,然后做一个捆绑更新,我得到的错误

找不到创业板'BSON(= 1.4.0)的x86的mingw32,这是需要由宝石蒙戈(〜> 1.3)的x86的mingw32,在任何来源。

难道是因为它是64位的?任何可能的解决方法?

走行轨3.0.10

解决方案

我今天早些时候有这个确切的问题。原来V1.4和V1.4.1已从rubygems.org删除。我设法解决它通过手动下载宝石文件和安装的应用程序。

http://tinyurl.com/3fksky8

I'm trying to do a bundle install but I'm getting the error Could not find bson-1.4.0 in any of the sources. I believe bson-1.4.0 is a requirement for mongoid ~> 2.0 which is in my Gemfile.

When I try gem install -v 1.4.0 bson, I get the error

ERROR:  Could not find a valid gem 'bson' (= 1.4.0), here is why:
          Found bson (1.4.0), but was for platform jruby

the bundle install works fine on my development machine (running OSX 10.6.8), but I'm having this problem on a 64-Bit Amazon EC2 instance.

If I try requesting an earlier version, then do a bundle update, I get the error

Could not find gem 'bson (= 1.4.0) x86-mingw32', which is required by gem 'mongo (~> 1.3) x86-mingw32', in any of the sources.

could it be because of it being 64bit? Any possible workarounds?

running rails 3.0.10

解决方案

I had this exact problem earlier today. It turns out v1.4 and v1.4.1 have been removed from rubygems.org. I managed to get around it by downloading the gem files manually and installing to the app.

http://tinyurl.com/3fksky8

阅读全文

相关推荐

最新文章