- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
= 0) amongst 类似的问题我假设那里提到的错误已经修复。 我正在使用 bund-6ren">
我遇到了与 Gem::LoadError: Could not find rubygems-bundler (>= 0) amongst 类似的问题我假设那里提到的错误已经修复。
我正在使用 bundle package
将我的 gems 放在/vendor/ruby 中,如 Ryan McCreary 出色的工作流程中所述 "Vendor Everything Still Applies."
运行bundle package
时的错误是:
Error loading RubyGems plugin "/Users/brad/.rvm/gems/ruby-1.9.3-p194@global/gems/rubygems-bundler-1.1.0/lib/rubygems_plugin.rb":
Could not find rubygems-bundler (>= 0) amongst
[actionmailer-3.2.8, actionpack-3.2.8, activemodel-3.2.8, activerecord-3.2.8, activeresource-3.2.8, activesupport-3.2.8, addressable-2.3.2, arel-3.0.2, bcrypt-ruby-3.0.1, bootstrap-sass-2.1.0.1, builder-3.0.4, cancan-1.6.8, capybara-1.1.2, childprocess-0.3.6, coffee-rails-3.2.2, coffee-script-2.2.0, coffee-script-source-1.3.3, cucumber-1.2.1, cucumber-rails-1.3.0, daemons-1.1.9, database_cleaner-0.9.1, devise-2.1.2, diff-lcs-1.1.3, email_spec-1.2.1, erubis-2.7.0, eventmachine-1.0.0, execjs-1.4.0, factory_girl-4.1.0, factory_girl_rails-4.1.0, ffi-1.1.5, gherkin-2.11.5, haml-3.1.7, haml-rails-0.3.5, hike-1.2.1, hpricot-0.8.6, i18n-0.6.1, journey-1.0.4, jquery-rails-2.1.3, json-1.7.5, launchy-2.1.2, libwebsocket-0.1.5, mail-2.4.4, mime-types-1.19, multi_json-1.3.6, nokogiri-1.5.5, orm_adapter-0.4.0, polyglot-0.3.3, quiet_assets-1.0.1, rack-1.4.1, rack-cache-1.2, rack-ssl-1.3.2, rack-test-0.6.2, rails-3.2.8, railties-3.2.8, rake-0.9.2.2, rdoc-3.12, rolify-3.2.0, rspec-2.11.0, rspec-core-2.11.1, rspec-expectations-2.11.3, rspec-mocks-2.11.3, rspec-rails-2.11.4, ruby_parser-2.3.1, rubyzip-0.9.9, sass-3.2.1, sass-rails-3.2.5, selenium-webdriver-2.25.0, sexp_processor-3.2.0, simple_form-2.0.4, sprockets-2.1.3, sqlite3-1.3.6, thin-1.5.0, thor-0.16.0, tilt-1.3.3, treetop-1.4.11, tzinfo-0.3.33, uglifier-1.3.0, warden-1.2.1, xpath-0.1.4] (Gem::LoadError)
关于我做错了什么或如何解决它的任何想法;也就是说,当我运行 bundle package
时,为什么 正在寻找 rubygems-bundler?虽然这显示为“错误”(不是警告),但我的包似乎打包得很好。
当我在我的 Gemfile 中包含 gem 'rubygems-bundler'
时,错误消失了,但我不确定为什么我需要这样做。
(顺便说一句,这个应用程序最初是使用 rails3-bootstrap-devise-cancan 选项为很棒的 RailsComposer by Daniel Kehoe 创建的。)
最佳答案
也许试试: gem install rails -v '你的版本'
关于rubygems - 为什么运行 "Could not find rubygems-bundler"会出现错误 'bundle package',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12940140/
我正在尝试使用 JAXB 从 XSD 生成 java 类。 XSD 是我公司的官方 xsd,因此我无法仅为我的项目修改它们。在该网站上进行了数百次尝试和搜索后,我决定直接提出问题。 我的 XSD 中有
我已经了解了以下链接中的详细信息,但仍然存在何时使用哪个文件的问题?https://docs.npmjs.com/files/package-lock.json 最佳答案 包.json 包含项目的相关
当我在 centos 上运行命令 rpmbuild -bb mypackage.spec 时,出现错误 error: Package already exists: %package debuginf
my.packages 是 src 目录中的自定义原型(prototype)包。 Plone 实例中的数千个项目与其类型一起添加。我想将包重命名为 my.package。通过简单地卸载 my.pack
根据 javadoc 规范,我在相关包的根目录中放置了一个名为 package-info.html 的文档文件。但是,当我在该文件夹上运行 Doxygen 时,不会拾取该文件中的文档。我如何告诉 Do
我已经定义了如下的包: (defpackage :thehilariouspackageofamirteymuri (:nicknames ampack amir teymuri) (:use
我正在思考这个问题: > .packages() > (.packages()) [1] "stats" "graphics" "grDevices" "utils" "datase
我在内存中有一个 System.IO.Packaging.Package(它是一个 WordprocessingDocument)并且想将它流式传输到浏览器以保存它。 Word 文档已被基于 MVC
即使这是我不常发现的东西,在成员之前注释/* package*/的原因是什么? /* package */ final void attach(Context context) { atta
我正在开发我的应用程序,但在添加包以便导入它时,我总是收到此错误。 error: type 'Package.Dependency' has no member 'Package' 这是我的 Pack
install.packages("data.table") trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.
放置手动创建的插件的最佳位置是什么: a) C:\Users\{UserName}\AppData\Roaming\Sublime Text 3\Packages 或 b) C:\Users\{Use
这是一个有趣的 Perl 行为。 (至少对我来说 :) ) 我有两个包 PACKAGE1 和 PACKAGE2,它们导出具有相同名称的函数 Method1()。 由于将有如此多的包将导出相同的功能,使
package-archives (("marmalade" . "http://marmalade-repo.org/packages/") ("gnu" . "http://elpa.gnu.or
任何人都可以让我知道 package-lock.json 文件的确切用途吗? 尽管许多人提到它用于查看版本化依赖树。 寻找简单易行的解释。 提前致谢。 最佳答案 npm install使用此文件来确保
Python documentation说 Consider this code: import sound.effects.echo import sound.effects.surround fr
我在 ubuntu 上运行 VPS: Distributor ID: Ubuntu Description: Ubuntu 14.04.5 LTS Release: 14.04 C
我有这样一个结构 $ tree -h . ├── [1.0K] myproj │ ├── [ 0] index.py │ ├── [ 0] __init__.py │ └──
我正在尝试解压 System.IO.Packaging.Package我从网络服务器收到的。也就是说,我正在使用 System.IO.Packaging.Package.Open(Stream)方法并
关于 package.json 文件中的@types 依赖项,我有一个愚蠢的问题: 在下面的 URL 中解释了应该安装的类型作为运行时依赖 npm install --save @types/loda
我是一名优秀的程序员,十分优秀!