bstascavage / plexReport

Scripts to generate a weekly email of new additions to Plex
66 stars 17 forks source link

Conflict Error - Ruby / json #80

Closed Monstar316 closed 7 years ago

Monstar316 commented 7 years ago

Hi,

I received the below output when the scheduled job in cron tried to run plexReport:

/usr/lib/ruby/2.3.0/rubygems/specification.rb:2286:in raise_if_conflicts': Unable to activate httparty-0.13.1, because json-2.0.1 conflicts with json (~> 1.8) (Gem::ConflictError) from /usr/lib/ruby/2.3.0/rubygems/specification.rb:1407:inactivate' from /usr/lib/ruby/2.3.0/rubygems.rb:196:in rescue in try_activate' from /usr/lib/ruby/2.3.0/rubygems.rb:193:intry_activate' from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:125:in rescue in require' from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:40:inrequire' from /var/lib/plexReport/plex.rb:4:in <top (required)>' from /usr/local/sbin/plexreport:14:inrequire_relative' from /usr/local/sbin/plexreport:14:in `

'

I tried running it manually and got the same output.

Do you know how to resolve this?

Monstar316 commented 7 years ago

Resolved after numerous attempts to remove all files relating to plexReport and re-installing. Working after 4th-5th attempt.