Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jackhammer sidekiq error log #78

Open
sampathmende opened this issue Feb 8, 2018 · 17 comments
Open

jackhammer sidekiq error log #78

sampathmende opened this issue Feb 8, 2018 · 17 comments

Comments

@sampathmende
Copy link

[-] [LoadError] cannot load such file -- selenium/webdriver/phantomjs
[-] /root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/arachni-1.3.2/lib/arachni/browser.rb:132:in require' [-] /root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/arachni-1.3.2/lib/arachni/browser.rb:132:in executable'
[-] /root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/arachni-1.3.2/lib/arachni/browser.rb:126:in has_executable?' [-] /root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/arachni-1.3.2/lib/arachni/framework/parts/browser.rb:50:in host_has_browser?'
[-] /root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/arachni-1.3.2/lib/arachni/framework/parts/browser.rb:65:in use_browsers?' [-] /root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/arachni-1.3.2/lib/arachni/framework/parts/browser.rb:24:in browser_cluster'
[-] /root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/arachni-1.3.2/lib/arachni/framework/parts/audit.rb:167:in audit' [-] /root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/arachni-1.3.2/lib/arachni/framework.rb:120:in block in run'
[-] /root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/arachni-1.3.2/lib/arachni/utilities.rb:408:in exception_jail' [-] /root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/arachni-1.3.2/lib/arachni/framework.rb:120:in run'
[-] /root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/arachni-1.3.2/ui/cli/framework.rb:62:in block in run' [-] [Errno::EINVAL] Invalid argument @ rb_io_seek - /tmp/arachni20180208-70-zbqw8qafr [-] /root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/arachni-1.3.2/lib/arachni/report.rb:135:in seek'
[-] /root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/arachni-1.3.2/lib/arachni/report.rb:135:in block in load' [-] /root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/arachni-1.3.2/lib/arachni/report.rb:134:in open'
[-] /root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/arachni-1.3.2/lib/arachni/report.rb:134:in load' [-] /root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/arachni-1.3.2/ui/cli/reporter.rb:40:in run'
[-] /root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/arachni-1.3.2/ui/cli/reporter.rb:25:in initialize' [-] /root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/arachni-1.3.2/bin/arachni_reporter:12:in new'
[-] /root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/arachni-1.3.2/bin/arachni_reporter:12:in <top (required)>' [-] /root/.rbenv/versions/2.3.0/bin/arachni_reporter:23:in load'
[-] /root/.rbenv/versions/2.3.0/bin/arachni_reporter:23:in `

'
[2018-02-08 09:06:26 +0000] Running tasks in stage: live
[2018-02-08 09:06:31 +0000] Running tasks in stage: done
[2018-02-08 09:06:35 +0000] Have 0 items pre ZAP filter.
[2018-02-08 09:06:35 +0000] Have 0 items post ZAP filter.
[2018-02-08 09:06:35 +0000] Generating report...[:to_s]
[2018-02-08 09:06:35 +0000] Running base reoprt...

@kmadhusudhan
Copy link
Contributor

Sidekiq requires phantomjs to run web scan, you need to install phantomjs 2.1.1

@sampathmende
Copy link
Author

sampathmende commented Feb 9, 2018

should i install it as gem or how??
should i run it from /home/app folder or where?
Please give me exact path

@kmadhusudhan
Copy link
Contributor

Refer web docker file , it has clear steps to install all dependencies. instead you could run docker-build.sh script from jackhammer root application. Its does the installation of dependencies and starting application . if your not clear about installation of jackhammer, please go through the jackhammer documentation , Documentation has clear installation steps and how to use it

@sampathmende
Copy link
Author

sampathmende commented Feb 9, 2018

Point @1: phantomjs 2.1.1 is installed with docker-build.sh
Point #2 : you asked me to install phantomjs 2.1.1 seperatly from root folder. i did it.
using the link [](https://www.vultr.com/docs/how-to-install-phantomjs-on-ubuntu-16-04
i)
then also getting same error
[2018-02-09 10:23:19 +0000] Mounting https://epramaan.gov.in/ with #Pipeline::URLMounter:0x0055d99e7a3618
[2018-02-09 10:23:19 +0000] Mounted https://epramaan.gov.in/ with #Pipeline::URLMounter:0x0055d99e7a3618
[2018-02-09 10:23:19 +0000] Processing target...https://epramaan.gov.in/
[2018-02-09 10:23:19 +0000] Running tasks in stage: wait
[2018-02-09 10:23:30 +0000] Running tasks in stage: mount
[2018-02-09 10:23:35 +0000] Running tasks in stage: file
[2018-02-09 10:23:40 +0000] Running tasks in stage: code
[2018-02-09 10:23:44 +0000] code - Arachni - #Set:0x0055d99c9ff170
[-] [LoadError] cannot load such file -- selenium/webdriver/phantomjs
[-] /root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/arachni-1.3.2/lib/arachni/browser.rb:132:in require' [-] /root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/arachni-1.3.2/lib/arachni/browser.rb:132:in executable'
[-] /root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/arachni-1.3.2/lib/arachni/browser.rb:126:in has_executable?' [-] /root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/arachni-1.3.2/lib/arachni/framework/parts/browser.rb:50:in host_has_browser?
[-] /root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/arachni-1.3.2/lib/arachni/framework/parts/browser.rb:65:in use_browsers?' [-] /root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/arachni-1.3.2/lib/arachni/framework/parts/browser.rb:24:in browser_cluster'
[-] /root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/arachni-1.3.2/lib/arachni/framework/parts/audit.rb:167:in audit' [-] /root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/arachni-1.3.2/lib/arachni/framework.rb:120:in block in run'
[-] /root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/arachni-1.3.2/lib/arachni/utilities.rb:408:in exception_jail' [-] /root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/arachni-1.3.2/lib/arachni/framework.rb:120:in run'
[-] /root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/arachni-1.3.2/ui/cli/framework.rb:62:in block in run' **[-] [Errno::EINVAL] Invalid argument @ rb_io_seek - /tmp/arachni20180209-893-1sbkutgafr** [-] /root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/arachni-1.3.2/lib/arachni/report.rb:135:in seek'
[-] /root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/arachni-1.3.2/lib/arachni/report.rb:135:in block in load' [-] /root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/arachni-1.3.2/lib/arachni/report.rb:134:in open'
[-] /root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/arachni-1.3.2/lib/arachni/report.rb:134:in load' [-] /root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/arachni-1.3.2/ui/cli/reporter.rb:40:in run'
[-] /root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/arachni-1.3.2/ui/cli/reporter.rb:25:in initialize' [-] /root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/arachni-1.3.2/bin/arachni_reporter:12:in new'
[-] /root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/arachni-1.3.2/bin/arachni_reporter:12:in <top (required)>' [-] /root/.rbenv/versions/2.3.0/bin/arachni_reporter:23:in load'
[-] /root/.rbenv/versions/2.3.0/bin/arachni_reporter:23:in `

'
[2018-02-09 10:23:51 +0000] Running tasks in stage: live
[2018-02-09 10:23:56 +0000] Running tasks in stage: done
[2018-02-09 10:24:00 +0000] Have 0 items pre ZAP filter.
[2018-02-09 10:24:00 +0000] Have 0 items post ZAP filter.
[2018-02-09 10:24:00 +0000] Generating report...[:to_s]
[2018-02-09 10:24:00 +0000] Running base reoprt...

@kmadhusudhan
Copy link
Contributor

please remove all dockers , and do the fresh installation by following jackhammer documentation . do not run application in local system . we expect everything need to be run in dockers.

@sampathmende
Copy link
Author

sampathmende commented Feb 9, 2018

Yeah I am running on this application docker only now. I have 2 environments. One is on docker and second one is local setup.
docker one is not working thats why i tried it on local setup.
But anyways this issue i raised on docker build only.
i removed everything from docker and remove container and images and gave the fresh build. all are donwloaded perfectly except gem morcha. even though application is accessible.

but the same error i am getting.
[LoadError] cannot load such file -- selenium/webdriver/phantomjs
even now i installed phantomjs also
do i need to set phantomjs file path or what??

thanks,
Sampath

@kmadhusudhan
Copy link
Contributor

login to web docker and verify phantomjs version by running phantomjs --version. if it is not installed right version , somehow you need to install phantomjs in web docker .

@sampathmende
Copy link
Author

sampathmende commented Feb 9, 2018

It is showing 2.1.1 and check gem environment also

sampath@CDAC-Sampath MINGW64 ~/jackhammer (master)
Creating jackhammer-db ... done
Creating jackhammer_redis_1 ... done
Creating jackhammer_redis_1 ...
Creating jackhammer_web_1 ... done

sampath@CDAC-Sampath MINGW64 ~/jackhammer (master)
$ docker exec -it jackhammer_web_1 bash
root@f7b91cfc75dc:/home/app# phantomjs --version
2.1.1
root@f7b91cfc75dc:/home/app# gem environment
RubyGems Environment:

  • RUBYGEMS VERSION: 2.5.1
  • RUBY VERSION: 2.3.0 (2015-12-25 patchlevel 0) [x86_64-linux]
  • INSTALLATION DIRECTORY: /root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0
  • USER INSTALLATION DIRECTORY: /root/.gem/ruby/2.3.0
  • RUBY EXECUTABLE: /root/.rbenv/versions/2.3.0/bin/ruby
  • EXECUTABLE DIRECTORY: /root/.rbenv/versions/2.3.0/bin
  • SPEC CACHE DIRECTORY: /root/.gem/specs
  • SYSTEM CONFIGURATION DIRECTORY: /root/.rbenv/versions/2.3.0/etc
  • RUBYGEMS PLATFORMS:
    • ruby
    • x86_64-linux
  • GEM PATHS:
    • /root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0
    • /root/.gem/ruby/2.3.0
  • GEM CONFIGURATION:
    • :update_sources => true
    • :verbose => true
    • :backtrace => false
    • :bulk_threshold => 1000
  • REMOTE SOURCES:
  • SHELL PATH:
    • /root/.rbenv/versions/2.3.0/bin
    • /root/.rbenv/libexec
    • /root/.rbenv/plugins/ruby-build/bin
    • /root/.rbenv/shims
    • /root/.rbenv/bin
    • /root/.rbenv/shims
    • /usr/local/sbin
    • /usr/local/bin
    • /usr/sbin
    • /usr/bin
    • /sbin
    • /bin
      root@f7b91cfc75dc:/home/app# gem list

*** LOCAL GEMS ***

actionmailer (4.2.7.1)
actionpack (4.2.7.1)
actionpack-action_caching (1.2.0)
actionview (4.2.7.1)
activejob (4.2.7.1)
activemodel (4.2.7.1)
activerecord (4.2.7.1)
activerecord-session_store (1.1.0)
activesupport (4.2.7.1)
addressable (2.3.6)
aescrypt (1.0.0)
arachni (1.3.2)
arachni-reactor (0.1.0)
arachni-rpc (0.2.1.2)
arel (6.0.4)
autoprefixer-rails (7.2.1)
awesome_print (1.2.0)
bcrypt (3.1.11)
bcrypt-ruby (3.1.5)
best_in_place (3.1.1)
better_errors (2.4.0)
bigdecimal (1.2.8)
binding_of_caller (0.7.3)
bootstrap-sass (3.3.7)
bootstrap3-datetimepicker-rails (4.17.47)
brakeman (4.0.1)
builder (3.2.3)
bullet (5.7.0)
bundler (1.16.1)
bundler-audit (0.6.0)
byebug (9.1.0)
cancancan (2.1.2)
capybara (2.16.1)
childprocess (0.5.3)
chronic (0.10.2)
chronic_duration (0.10.6)
climate_control (0.2.0)
cocaine (0.5.8)
coderay (1.1.0)
coffee-rails (4.2.2)
coffee-script (2.4.1)
coffee-script-source (1.12.2)
concurrent-ruby (1.0.5)
connection_pool (2.2.1)
crack (0.4.3)
css_parser (1.6.0)
curb (0.9.4)
cvss (0.99.0)
data_mapper (1.2.0)
data_objects (0.10.17)
database_cleaner (1.6.2)
dawnscanner (1.6.8)
debug_inspector (0.0.3)
devise (4.3.0)
did_you_mean (1.0.0)
diff-lcs (1.3)
dm-aggregates (1.2.0)
dm-constraints (1.2.0)
dm-core (1.2.1)
dm-do-adapter (1.2.0)
dm-migrations (1.2.0)
dm-serializer (1.2.2)
dm-sqlite-adapter (1.2.0)
dm-timestamps (1.2.0)
dm-transactions (1.2.0)
dm-types (1.2.2)
dm-validations (1.2.0)
do_sqlite3 (0.10.17)
docile (1.1.5)
erubi (1.7.0)
erubis (2.7.0)
et-orbi (1.0.8)
ethon (0.11.0)
execjs (2.7.0)
factory_girl (4.9.0)
factory_girl_rails (4.9.0)
faker (1.8.5)
faraday (0.12.2)
fastercsv (1.5.5)
ffi (1.9.18)
figaro (1.1.1)
font-awesome-rails (4.7.0.2)
foreman (0.84.0)
gitlab (4.2.0)
globalid (0.4.1)
god (0.13.7)
haml (5.0.4)
hashdiff (0.3.7)
hashie (3.5.6)
highline (1.7.10)
htmlentities (4.3.4)
httparty (0.15.6)
httpclient (2.8.3)
i18n (0.9.1)
io-console (0.4.5)
jbuilder (2.7.0)
jira4r (1.3.0)
jquery-rails (4.3.1)
jquery-ui-rails (6.0.1)
jquery-validation-rails (1.16.0)
json (1.8.6, 1.8.3)
json_pure (1.8.6)
jsonpath (0.8.10)
justify (1.0.2)
jwt (1.5.6)
kramdown (1.4.1)
libv8 (3.16.14.19 x86_64-linux)
local_time (2.0.0)
logger-application (0.0.2)
logger-colors (1.0.0)
loofah (2.0.3)
mail (2.7.0)
method_source (0.9.0)
mime-types (3.1)
mime-types-data (3.2016.0521)
mimemagic (0.3.2)
mini_mime (1.0.0)
mini_portile2 (2.1.0)
minitest (5.10.3, 5.8.3)
momentjs-rails (2.17.1)
msgpack (0.5.8)
multi_json (1.12.2)
multi_xml (0.6.0)
multipart-post (2.0.0)
mysql2 (0.4.10)
nested_form (0.3.2)
net-telnet (0.1.1)
nokogiri (1.6.8.1)
numerizer (0.1.1)
oauth (0.5.3)
oauth2 (1.4.0)
octokit (4.7.0)
oj (2.12.14)
oj_mimic_json (1.0.1)
omniauth (1.7.1)
omniauth-github (1.3.0)
omniauth-oauth2 (1.4.0)
orm_adapter (0.5.0)
owasp-pipeline (0.8.7)
paperclip (5.0.0)
pony (1.8)
power_assert (0.2.6)
premailer (1.11.1)
premailer-rails (1.10.1)
pry (0.11.3)
pry-byebug (3.5.1)
pry-rails (0.3.6)
psych (2.0.17)
ptools (1.3.5)
puma (3.11.0)
rack (1.6.8)
rack-protection (1.5.3)
rack-test (0.6.3)
rails (4.2.7.1)
rails-deprecated_sanitizer (1.0.3)
rails-dom-testing (1.0.8)
rails-html-sanitizer (1.0.3)
rails-settings-cached (0.6.6)
rails_autolink (1.1.6)
railties (4.2.7.1)
rake (12.3.0, 10.4.2)
rb-fsevent (0.10.2)
rb-inotify (0.9.10)
rb-readline (0.5.1)
rdoc (4.3.0, 4.2.1)
redcarpet (3.4.0)
RedCloth (4.3.2)
redis (3.3.5)
redis-actionpack (5.0.2)
redis-activesupport (5.0.4)
redis-namespace (1.6.0)
redis-rack (2.0.3)
redis-rails (5.0.2)
redis-store (1.4.1)
ref (2.0.0)
remotipart (1.3.1)
responders (2.4.0)
rolify (5.1.0)
rprogram (0.3.2)
rspec (3.7.0)
rspec-core (3.7.0)
rspec-expectations (3.7.0)
rspec-mocks (3.7.0)
rspec-rails (3.7.2)
rspec-support (3.7.0)
ruby-nmap (0.9.2)
ruby-progressbar (1.9.0)
ruby_parser (3.10.1)
rubyzip (1.1.6)
rufus-scheduler (3.4.2)
safe_yaml (1.0.4)
sass (3.5.3)
sass-listen (4.0.0)
sass-rails (5.0.7)
sawyer (0.8.1)
sdoc (0.4.2)
selenium-webdriver (3.8.0)
sexp_processor (4.10.0)
sidekiq (4.2.10)
sidekiq-middleware (0.3.0)
sidekiq-retries (0.4.0)
sidekiq-scheduler (2.1.10)
sidekiq-statistic (1.2.0)
sidekiq-status (0.7.0)
simplecov (0.15.1)
simplecov-html (0.10.2)
sinatra (1.4.8)
soap4r-ng (2.0.3)
spinjs-rails (1.4)
spring (2.0.2)
spring-commands-rspec (1.0.4)
sprockets (3.7.1)
sprockets-rails (3.2.1)
sqlite3 (1.3.13)
stringex (1.5.1)
sys-uname (1.0.3)
tag-it-rails (2.0.0)
temple (0.8.0)
terminal-table (1.4.5)
test-unit (3.1.5)
therubyracer (0.12.3)
thor (0.19.4)
thread_safe (0.3.6)
tilt (2.0.8)
toastr-rails (1.0.3)
turbolinks (5.0.1)
turbolinks-source (5.0.3)
typhoeus (0.6.9)
tzinfo (1.2.4)
uglifier (4.0.1)
uniform_notifier (1.10.0)
uuidtools (2.1.5)
warden (1.2.7)
watir-webdriver (0.6.9)
web-console (2.3.0)
webmock (3.1.1)
whenever (0.10.0)
will_paginate (3.1.6)
will_paginate-bootstrap (1.0.1)
xpath (2.1.0)
yajl-ruby (1.3.1)
root@f7b91cfc75dc:/home/app#

@sampathmende
Copy link
Author

Will sidekiq dont run in the background?? When i run the sidekiq its running on the app console and not going to background

@kmadhusudhan
Copy link
Contributor

if you run with -d option, it will run in the background . Ex: sidekiq -C config/sidekiq.yml -d from rails root directory

@sampathmende
Copy link
Author

sampathmende commented Feb 14, 2018

How do I set the phantoms path at ../selenium/webdriver/phantomjs
Since it is looking for phantomjs at the above location.
any update @kmadhusudhan ??

@sampathmende
Copy link
Author

sampathmende commented Feb 16, 2018

Dear @kmadhusudhan ,
I am adding images of both system level phantomjs and app level phantomjs
pls check the images and guide me and how to solve the phantomjs dependency.I need your help.

phantomjs at app level
appphantomjs

phantomjs at system level
phantomjsversion

@kmadhusudhan
Copy link
Contributor

@sampathmende , pls try creating soft link from /usr/bin/phantomjs to selenium/webdriver/phantomjs.
EX: ln -sf /usr/bin/phantomjs $GEM_HOME/selenium/webdriver/phantomjs. you need to give $GEM_HOME full path

@sampathmende
Copy link
Author

I have tried it but getting error not such path or file folder exist
ln -sf /usr/bin/phantomjs /root/.rbenv/versions/2.3.0/lib/ruby/gems/selenium/webdriver/phantomjs
since selenium/webdriver/phantomjs is from lib file only

@sampathmende
Copy link
Author

I executed below command to know the gem contents.
there is no selenium/webdriver/phantomjs folder.
But on github i verified the link
https://github.com/SeleniumHQ/selenium/tree/selenium-3.8.0/rb/lib/selenium/webdriver/phantomjs
phantomjs folder exist.

Please help me. why it is missing here

root@258d81dd2857:/home/app# gem contents selenium-webdriver

/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/CHANGES
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/Gemfile
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/LICENSE
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/README.md
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium-webdriver.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/server.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/atoms.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/atoms/getAttribute.js
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/chrome.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/chrome/driver.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/chrome/options.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/chrome/profile.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/chrome/service.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/common.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/common/action_builder.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/common/alert.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/common/bridge_helper.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/common/driver.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/common/driver_extensions/has_addons.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/common/driver_extensions/has_location.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/common/driver_extensions/has_network_connection.r
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/common/driver_extensions/has_remote_status.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/common/driver_extensions/has_session_id.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/common/driver_extensions/has_touch_screen.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/common/driver_extensions/has_web_storage.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/common/driver_extensions/rotatable.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/common/driver_extensions/takes_screenshot.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/common/driver_extensions/uploads_files.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/common/element.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/common/error.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/common/file_reaper.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/common/html5/local_storage.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/common/html5/session_storage.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/common/html5/shared_web_storage.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/common/interactions/input_device.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/common/interactions/interaction.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/common/interactions/interactions.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/common/interactions/key_actions.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/common/interactions/key_input.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/common/interactions/none_input.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/common/interactions/pointer_actions.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/common/interactions/pointer_input.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/common/keyboard.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/common/keys.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/common/log_entry.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/common/logger.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/common/logs.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/common/mouse.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/common/navigation.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/common/options.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/common/platform.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/common/port_prober.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/common/profile_helper.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/common/proxy.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/common/search_context.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/common/service.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/common/socket_lock.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/common/socket_poller.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/common/target_locator.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/common/timeouts.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/common/touch_action_builder.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/common/touch_screen.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/common/w3c_action_builder.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/common/w3c_options.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/common/wait.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/common/window.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/common/zipper.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/edge.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/edge/bridge.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/edge/driver.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/edge/service.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/firefox.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/firefox/binary.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/firefox/driver.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/firefox/extension.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/firefox/extension/prefs.json
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/firefox/extension/webdriver.xpi
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/firefox/launcher.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/firefox/legacy/driver.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/firefox/marionette/bridge.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/firefox/marionette/driver.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/firefox/native/linux/amd64/x_ignore_nofocus.so
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/firefox/native/linux/x86/x_ignore_nofocus.so
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/firefox/options.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/firefox/profile.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/firefox/profiles_ini.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/firefox/service.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/firefox/util.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/ie.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/ie/driver.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/ie/options.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/ie/service.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/remote.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/remote/bridge.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/remote/capabilities.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/remote/driver.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/remote/http/common.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/remote/http/curb.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/remote/http/default.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/remote/http/persistent.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/remote/oss/bridge.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/remote/oss/commands.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/remote/response.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/remote/server_error.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/remote/w3c/bridge.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/remote/w3c/capabilities.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/remote/w3c/commands.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/safari.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/safari/driver.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/safari/service.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/support.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/support/abstract_event_listener.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/support/block_event_listener.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/support/color.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/support/escaper.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/support/event_firing_bridge.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/lib/selenium/webdriver/support/select.rb
/root/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.8.0/selenium-webdriver.gemspec

@sampathmende
Copy link
Author

sampathmende commented Feb 19, 2018

Yahoo I found the reason
gems are installing from https://rubygems.org/gems/selenium-webdriver/versions/3.8.0
my bad
but i unzipped it and checked for phantomjs folder but that doesnot exist.
But to my surprise the same exist in selenium-webdriver3.6.0
Now possible solutions are either i can use 3.6.0 then how can i add dependency to gemfile??
or
how can i insert phantomjs folder to 3.8.0
or
how can i download the 3.8.0 gem from github

Pls find the images of both gem contents i unzipped it
selenium-webdrivder-3 8 0
selenium-webdriver-3 6 0

@sampathmende
Copy link
Author

@kmadhusudhan any update?????

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants