在混合平台开发组中升级到rails 3,并使用Bundler获取宝石。我在Windows上。当我运行Bundle Install时,它会成功完成,但不会安装hpricot。的角度来说,Hpricot行是:在Windows上的Rails Bundler拒绝安装hpricot(甚至在手动gem安装中获取错误:没有这样的文件加载 - 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之前工作得很好。