Closed nvoynov closed 4 years ago
You should use a Gemfile
, like
source "https://rubygems.org"
gem "clerq"
gem "thor"
gem "tmpdir"
And then run your program through bundle exec thor clerq:doc:docx
.
Thanks for the reply, but is the solution with Gemfile the only way or there are alternatives? I see Bundler as an unnecessary dependency for my purpose although understand this is the simpliest way.
An alternative solution would be to remove thor 1.0.1 from your system, but your going to need to manually make sure that the highest version of all your dependencies is the one that your application is using, or you'll get getting this mismatches with other dependencies.
Thanks for quick response!
Hi,
help me please with my problem with different thor versions - latest thor gem installed and thor version used in my own gem.
this is that I see in my terminal
I'm using my own gem clerq that is a toolkit that provides a few command through
thor
(v0.20.3 in gemspec).I decided to make a few custom local commands through
thor
and these commands get data through my clerq gemNow in my system are two thor versions - 1.0.1 and 0.20.3. And when I run my command I have the following errors