Skip to content
This repository has been archived by the owner on Jun 27, 2020. It is now read-only.

Gem Load Error is: uninitialized constant Capybara::DSL #1

Open
sreedevk opened this issue Mar 5, 2018 · 0 comments
Open

Gem Load Error is: uninitialized constant Capybara::DSL #1

sreedevk opened this issue Mar 5, 2018 · 0 comments

Comments

@sreedevk
Copy link

sreedevk commented Mar 5, 2018

Gem file has poltergeist and capybara. Please look into the issues

Traceback (most recent call last):
30: from bin/rails:3:in <main>' 29: from bin/rails:3:in load'
28: from /home/sreedev/Desktop/enrichment-engine-2.0/enrichment-engine/bin/spring:15:in <top (required)>' 27: from /home/sreedev/Desktop/enrichment-engine-2.0/enrichment-engine/bin/spring:15:in require'
26: from /home/sreedev/.rvm/gems/ruby-2.5.0/gems/spring-2.0.2/lib/spring/binstub.rb:31:in <top (required)>' 25: from /home/sreedev/.rvm/gems/ruby-2.5.0/gems/spring-2.0.2/lib/spring/binstub.rb:31:in load'
24: from /home/sreedev/.rvm/gems/ruby-2.5.0/gems/spring-2.0.2/bin/spring:49:in <top (required)>' 23: from /home/sreedev/.rvm/gems/ruby-2.5.0/gems/spring-2.0.2/lib/spring/client.rb:30:in run'
22: from /home/sreedev/.rvm/gems/ruby-2.5.0/gems/spring-2.0.2/lib/spring/client/command.rb:7:in call' 21: from /home/sreedev/.rvm/gems/ruby-2.5.0/gems/spring-2.0.2/lib/spring/client/rails.rb:28:in call'
20: from /home/sreedev/.rvm/gems/ruby-2.5.0/gems/spring-2.0.2/lib/spring/client/rails.rb:28:in load' 19: from /home/sreedev/Desktop/enrichment-engine-2.0/enrichment-engine/bin/rails:9:in <top (required)>'
18: from /home/sreedev/Desktop/enrichment-engine-2.0/enrichment-engine/bin/rails:9:in require' 17: from /home/sreedev/.rvm/gems/ruby-2.5.0/gems/railties-5.1.5/lib/rails/commands.rb:16:in <top (required)>'
16: from /home/sreedev/.rvm/gems/ruby-2.5.0/gems/railties-5.1.5/lib/rails/command.rb:44:in invoke' 15: from /home/sreedev/.rvm/gems/ruby-2.5.0/gems/railties-5.1.5/lib/rails/command/base.rb:63:in perform'
14: from /home/sreedev/.rvm/gems/ruby-2.5.0/gems/thor-0.20.0/lib/thor.rb:387:in dispatch' 13: from /home/sreedev/.rvm/gems/ruby-2.5.0/gems/thor-0.20.0/lib/thor/invocation.rb:126:in invoke_command'
12: from /home/sreedev/.rvm/gems/ruby-2.5.0/gems/thor-0.20.0/lib/thor/command.rb:27:in run' 11: from /home/sreedev/.rvm/gems/ruby-2.5.0/gems/railties-5.1.5/lib/rails/commands/server/server_command.rb:130:in perform'
10: from /home/sreedev/.rvm/gems/ruby-2.5.0/gems/railties-5.1.5/lib/rails/commands/server/server_command.rb:130:in tap' 9: from /home/sreedev/.rvm/gems/ruby-2.5.0/gems/railties-5.1.5/lib/rails/commands/server/server_command.rb:133:in block in perform'
8: from /home/sreedev/.rvm/gems/ruby-2.5.0/gems/railties-5.1.5/lib/rails/commands/server/server_command.rb:133:in require' 7: from /home/sreedev/Desktop/enrichment-engine-2.0/enrichment-engine/config/application.rb:7:in <top (required)>'
6: from /home/sreedev/.rvm/gems/ruby-2.5.0/gems/bundler-1.16.1/lib/bundler.rb:114:in require' 5: from /home/sreedev/.rvm/gems/ruby-2.5.0/gems/bundler-1.16.1/lib/bundler/runtime.rb:65:in require'
4: from /home/sreedev/.rvm/gems/ruby-2.5.0/gems/bundler-1.16.1/lib/bundler/runtime.rb:65:in each' 3: from /home/sreedev/.rvm/gems/ruby-2.5.0/gems/bundler-1.16.1/lib/bundler/runtime.rb:76:in block in require'
2: from /home/sreedev/.rvm/gems/ruby-2.5.0/gems/bundler-1.16.1/lib/bundler/runtime.rb:76:in each' 1: from /home/sreedev/.rvm/gems/ruby-2.5.0/gems/bundler-1.16.1/lib/bundler/runtime.rb:80:in block (2 levels) in require'
/home/sreedev/.rvm/gems/ruby-2.5.0/gems/bundler-1.16.1/lib/bundler/runtime.rb:84:in rescue in block (2 levels) in require': There was an error while trying to load the gem 'google-scraper'. (Bundler::GemRequireError) Gem Load Error is: uninitialized constant Capybara::DSL Backtrace for gem load error is: /home/sreedev/.rvm/gems/ruby-2.5.0/bundler/gems/google-scraper-c4eab0edbeff/lib/google_scraper/engine.rb:4:in class:Engine'
/home/sreedev/.rvm/gems/ruby-2.5.0/bundler/gems/google-scraper-c4eab0edbeff/lib/google_scraper/engine.rb:2:in <module:GoogleScraper>' /home/sreedev/.rvm/gems/ruby-2.5.0/bundler/gems/google-scraper-c4eab0edbeff/lib/google_scraper/engine.rb:1:in <top (required)>'
/home/sreedev/.rvm/gems/ruby-2.5.0/bundler/gems/google-scraper-c4eab0edbeff/lib/google-scraper.rb:22:in <top (required)>' /home/sreedev/.rvm/gems/ruby-2.5.0/gems/bundler-1.16.1/lib/bundler/runtime.rb:81:in require'
/home/sreedev/.rvm/gems/ruby-2.5.0/gems/bundler-1.16.1/lib/bundler/runtime.rb:81:in block (2 levels) in require' /home/sreedev/.rvm/gems/ruby-2.5.0/gems/bundler-1.16.1/lib/bundler/runtime.rb:76:in each'
/home/sreedev/.rvm/gems/ruby-2.5.0/gems/bundler-1.16.1/lib/bundler/runtime.rb:76:in block in require' /home/sreedev/.rvm/gems/ruby-2.5.0/gems/bundler-1.16.1/lib/bundler/runtime.rb:65:in each'
/home/sreedev/.rvm/gems/ruby-2.5.0/gems/bundler-1.16.1/lib/bundler/runtime.rb:65:in require' /home/sreedev/.rvm/gems/ruby-2.5.0/gems/bundler-1.16.1/lib/bundler.rb:114:in require'
/home/sreedev/Desktop/enrichment-engine-2.0/enrichment-engine/config/application.rb:7:in <top (required)>' /home/sreedev/.rvm/gems/ruby-2.5.0/gems/railties-5.1.5/lib/rails/commands/server/server_command.rb:133:in require'
/home/sreedev/.rvm/gems/ruby-2.5.0/gems/railties-5.1.5/lib/rails/commands/server/server_command.rb:133:in block in perform' /home/sreedev/.rvm/gems/ruby-2.5.0/gems/railties-5.1.5/lib/rails/commands/server/server_command.rb:130:in tap'
/home/sreedev/.rvm/gems/ruby-2.5.0/gems/railties-5.1.5/lib/rails/commands/server/server_command.rb:130:in perform' /home/sreedev/.rvm/gems/ruby-2.5.0/gems/thor-0.20.0/lib/thor/command.rb:27:in run'
/home/sreedev/.rvm/gems/ruby-2.5.0/gems/thor-0.20.0/lib/thor/invocation.rb:126:in invoke_command' /home/sreedev/.rvm/gems/ruby-2.5.0/gems/thor-0.20.0/lib/thor.rb:387:in dispatch'
/home/sreedev/.rvm/gems/ruby-2.5.0/gems/railties-5.1.5/lib/rails/command/base.rb:63:in perform' /home/sreedev/.rvm/gems/ruby-2.5.0/gems/railties-5.1.5/lib/rails/command.rb:44:in invoke'
/home/sreedev/.rvm/gems/ruby-2.5.0/gems/railties-5.1.5/lib/rails/commands.rb:16:in <top (required)>' /home/sreedev/Desktop/enrichment-engine-2.0/enrichment-engine/bin/rails:9:in require'
/home/sreedev/Desktop/enrichment-engine-2.0/enrichment-engine/bin/rails:9:in <top (required)>' /home/sreedev/.rvm/gems/ruby-2.5.0/gems/spring-2.0.2/lib/spring/client/rails.rb:28:in load'
/home/sreedev/.rvm/gems/ruby-2.5.0/gems/spring-2.0.2/lib/spring/client/rails.rb:28:in call' /home/sreedev/.rvm/gems/ruby-2.5.0/gems/spring-2.0.2/lib/spring/client/command.rb:7:in call'
/home/sreedev/.rvm/gems/ruby-2.5.0/gems/spring-2.0.2/lib/spring/client.rb:30:in run' /home/sreedev/.rvm/gems/ruby-2.5.0/gems/spring-2.0.2/bin/spring:49:in <top (required)>'
/home/sreedev/.rvm/gems/ruby-2.5.0/gems/spring-2.0.2/lib/spring/binstub.rb:31:in load' /home/sreedev/.rvm/gems/ruby-2.5.0/gems/spring-2.0.2/lib/spring/binstub.rb:31:in <top (required)>'
/home/sreedev/Desktop/enrichment-engine-2.0/enrichment-engine/bin/spring:15:in require' /home/sreedev/Desktop/enrichment-engine-2.0/enrichment-engine/bin/spring:15:in <top (required)>'
bin/rails:3:in load' bin/rails:3:in

'
Bundler Error Backtrace:
sreedev@sreedev:~/Desktop/enrichment-engine-2.0/enrichment-engine$

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

No branches or pull requests

1 participant