【问题标题】:no metadata found in activereocrd-3.2.9.gem when running bundle install in a rails 3.2.9在 rails 3.2.9 中运行 bundle install 时在 activereocrd-3.2.9.gem 中找不到元数据
【发布时间】:2012-12-28 23:28:23
【问题描述】:

我是 Rails 的新手。在 Windows 7 上工作,64 位。通过 RailsInstaller 安装了我的环境。当然最新版本。 创建新项目时(将 gem 文件保留为默认值)并运行 bundle install 时,出现错误

gem::package::FormatError: no metadata found in 
D:/RailsInstaller/Ruby1.9.3/bin/cashe/activereocrd-3.2.9.gem
and error occurrend while installing activerecord (3.2.9), and bubndler cannot continue.
Make sure that gem install activerecord -v '3.2.9' succeeds before building.

我尝试运行 gem install activerecord..按照指示仍然捆绑安装不起作用,我无法运行 rails 服务器。 (导轨)

将应用程序 gem 文件中的 rails 版本更改为 3.2.8 而不是 3.2.9 时,一切似乎都正常工作,并且 rails 服务器成功运行。怎么了?

【问题讨论】:

    标签: ruby-on-rails activerecord bundle


    【解决方案1】:

    我卸载了 railsinstaller 和所有其他剩余文件夹。 重新安装 railsinstaller。问题解决了。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-12-07
      • 1970-01-01
      • 2013-04-18
      • 1970-01-01
      • 1970-01-01
      • 2014-05-11
      相关资源
      最近更新 更多