Closed Rajagopalan-M closed 4 years ago
Do you have a version for childprocess
gem defined (locked) in your Gemfile
? A simple bundle update
should work otherwise.
I don't have any gem file here, I install gem using the command gem install screen-recorder
and it gives me the above error, I installed childprocess-1.0.1 after uninstalling 3.0 but it still throws the error.
childprocess
1.x is no longer needed. Try this:
childprocess
and screen-recorder
gem install screen-recorder
. This will get you the latest version.Hi, It's getting installed.
But while I am running, it's throwing the following error.
Gem::ConflictError:
Unable to activate screen-recorder-1.3.1, because childprocess-1.0.1 conflicts with childprocess (~> 3.0)
# SequencialRun.rb:9:in `<top (required)>'
# ./Ruby_test_spec.rb:52:in `load'
# ./Ruby_test_spec.rb:52:in `<top (required)>'
# ------------------
# --- Caused by: ---
# LoadError:
# cannot load such file -- screen-recorder
# SequencialRun.rb:9:in `<top (required)>'
No examples found.
What does the following command return?
gem dependency childprocess -v 1.0.1 --reverse-dependencies
It returns
Oh it's because you're using selenium-webdriver
3.142.3 which requires childprocess
< v2.
I'll relax the childprocess
requirement to be >= 1.0, < 4.0
in the next screen-recorder
release, but I would recommend using the latest Selenium (and childprocess
) release if you can.
Recent version of selenium has this problem and that's why I couldn't go there
When I try install screenrecorder, it is throwing the following error, My ruby version is 2.6.5