Tire Import fails: Can't update gem due to multi_json incompatibility

(Karan Verma) #1


The tire import taks fails for my model with fails with a uninitialized
constant error.

bundle exec rake tire:import CLASS="Expert" RAILS_ENV=staging

tasks.rb:41:in block in <top (required)>' rake aborted! *uninitialized constant Expert* /shared/bundle/ruby/1.9.1/gems/tire-0.5.3/lib/tire/tasks.rb:42:ineval'

tasks.rb:42 is:

klass = eval(ENV['CLASS'].to_s)

I'm unable to update the Tire gem to the latest version.

Bundler could not find compatible versions for gem "multi_json":
In Gemfile:
oa-oauth (= 0.3.2) ruby depends on
multi_json (~> 1.0.0) ruby

tire (~> 0.6.1) ruby depends on
  multi_json (1.3.0)

Any clues would be very helpful. Thanks.

You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

(system) #2