【发布时间】:2010-11-11 20:55:07
【问题描述】:
在混合平台开发组中升级到 rails 3,并使用 Bundler for gems。我在 Windows 上。当我运行 Bundle Install 时,它成功完成,但不会安装 hpricot。 hpricot 线是:
gem "hpricot", "0.8.3", :platform => :mswin
也试过
gem "hpricot", :platform => :mswin
两者都很好,但是当我尝试做一个“捆绑显示 hpricot”时,我得到:
Could not find gem 'hpricot' in the current bundle.
如果我运行一个 Rails 控制台并尝试“require 'hpricot'”,我会得到:
LoadError: no such file to load -- hpricot
我也手动安装了 hpricot,但仍然出现上述错误。这在移动到 rails 3 之前运行良好。
【问题讨论】:
标签: ruby-on-rails windows rubygems bundler hpricot