$> gem install multi_json
<Lots of invalid gemspec warnings>
Successfully installed multi_json-1.0.3
.
.
.
$> bundle exec rake gems:install
<Lots of invalid gemspec warnings>
ERROR: Error installing searchlogic:
activesupport requires multi_json (~> 1.0)
使用Windows XP Ruby 1.8.7 Rails 2.3.8 宝石1.8.10
的Gemfile:
# app
#gem "mysql", "2.7"
gem "sqlite3"
gem "lockfile"
gem "ssl_requirement", "0.1.0"
gem "attr_encrypted", "1.1.2"
# gem "searchlogic", "2.4.28", :require => nil
gem "will_paginate", "2.3.14", :require => nil
gem "paperclip"
gem "garb", "0.7.6"
gem "delayed_job", "2.0.3"
gem "httparty", "0.5.2"
gem "pony", "1.1"
gem "friendly_id", "3.0.6"
gem "stringex", "1.1.0"
gem "i18n", "0.4.2"
gem "sms_fu", "1.1.1"
# gems needed for windows
gem "spruz", "0.2.13", :git => "git://github.com/flori/spruz.git"
gem "json_pure", "~> 1.5.4"
在environment.rb
中 require "bundler/setup"
Bundler.require(:default)
require "will_paginate"
config.gem "searchlogic", :version => "2.4.28"
我已经运行了bundle install。它说我的捆绑完了!......但它就是......那么坚固的角落。
答案 0 :(得分:0)
尝试使用
安装宝石bundle install
而不是
bundle exec rake gems:install