cucumber-nagios
cucumber-nagios copied to clipboard
Unable to run cucumber-nagios on CentOS 6.7
Which version of bundler should I be using for cucumber-nagios? I get the errors below no matter which I try.
[root@backup ~]# gem list bundler *** LOCAL GEMS *** bundler (1.0.22)
[root@backup ebay.com.au]# cucumber-nagios features/ebay.com.au/bidding.feature
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/bundler-1.0.22/lib/bundler/rubygems_integration.rb:183:in stub_source_index170': uninitialized constant Gem::SourceIndex (NameError) from /usr/local/rvm/gems/ruby-1.9.3-p551/gems/bundler-1.0.22/lib/bundler/rubygems_integration.rb:303:in
stub_rubygems'
from /usr/local/rvm/gems/ruby-1.9.3-p551/gems/bundler-1.0.22/lib/bundler/rubygems_integration.rb:246:in replace_entrypoints' from /usr/local/rvm/gems/ruby-1.9.3-p551/gems/bundler-1.0.22/lib/bundler/runtime.rb:14:in
setup'
from /usr/local/rvm/gems/ruby-1.9.3-p551/gems/bundler-1.0.22/lib/bundler.rb:110:in setup' from /usr/local/rvm/gems/ruby-1.9.3-p551@global/gems/rubygems-bundler-1.4.4/lib/rubygems-bundler/noexec.rb:94:in
setup'
from /usr/local/rvm/gems/ruby-1.9.3-p551@global/gems/rubygems-bundler-1.4.4/lib/rubygems-bundler/noexec.rb:124:in check' from /usr/local/rvm/gems/ruby-1.9.3-p551@global/gems/rubygems-bundler-1.4.4/lib/rubygems-bundler/noexec.rb:131:in
<top (required)>'
from /usr/local/rvm/rubies/ruby-1.9.3-p551/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:126:in require' from /usr/local/rvm/rubies/ruby-1.9.3-p551/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:126:in
rescue in require'
from /usr/local/rvm/rubies/ruby-1.9.3-p551/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:39:in require' from /usr/local/rvm/gems/ruby-1.9.3-p551@global/gems/rubygems-bundler-1.4.4/lib/rubygems_executable_plugin.rb:4:in
block in <top (required)>'
from /usr/local/rvm/gems/ruby-1.9.3-p551@global/gems/executable-hooks-1.3.2/lib/executable-hooks/hooks.rb:50:in call' from /usr/local/rvm/gems/ruby-1.9.3-p551@global/gems/executable-hooks-1.3.2/lib/executable-hooks/hooks.rb:50:in
block in run'
from /usr/local/rvm/gems/ruby-1.9.3-p551@global/gems/executable-hooks-1.3.2/lib/executable-hooks/hooks.rb:49:in each' from /usr/local/rvm/gems/ruby-1.9.3-p551@global/gems/executable-hooks-1.3.2/lib/executable-hooks/hooks.rb:49:in
run'
from /usr/local/rvm/gems/ruby-1.9.3-p551/bin/ruby_executable_hooks:10:in `
gem update bundler
[root@backup ~]# gem list bundler *** LOCAL GEMS *** bundler (1.11.2, 1.0.22)
[root@backup ebay.com.au]# cucumber-nagios features/ebay.com.au/bidding.feature /usr/local/rvm/rubies/ruby-1.9.3-p551/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:2283:in `raise_if_conflicts': Unable to activate cucumber-nagios-0.9.2, because bundler-1.11.2 conflicts with bundler (~> 1.0.7) (Gem::ConflictError)
gem uninstall bundler -v 1.0.22
[root@backup ebay.com.au]# gem list bundler *** LOCAL GEMS *** bundler (1.11.2) bundler-unload (1.0.2)
[root@backup ebay.com.au]# cucumber-nagios features/ebay.com.au/bidding.feature /usr/local/rvm/rubies/ruby-1.9.3-p551/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:2283:in `raise_if_conflicts': Unable to activate cucumber-nagios-0.9.2, because bundler-1.11.2 conflicts with bundler (~> 1.0.7) (Gem::ConflictError)
Versions....
[root@backup ebay.com.au]# gem list bundler *** LOCAL GEMS *** bundler (1.11.2) bundler-unload (1.0.2) bundler08 (0.8.5) rubygems-bundler (1.4.4) [root@backup ebay.com.au]# bundler -v Bundler version 1.11.2 [root@backup ebay.com.au]# ruby -v ruby 1.9.3p551 (2014-11-13 revision 48407) [x86_64-linux] [root@backup ebay.com.au]# bundler -v Bundler version 1.11.2 [root@backup ebay.com.au]# rvm -v rvm 1.26.11 (latest) by Wayne E. Seguin [email protected], Michal Papis [email protected] [https://rvm.io/] [root@backup ebay.com.au]# gem -v 2.5.1
Thank you.
(my first time using cucumber-nagios or gem or ruby)