Trying to setup Cucumber, Watir and RubyMine.
Create a cucumber test and trying to do a bundle install and keep getting the error.
/usr/bin/ruby -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) install
40:232: execution error: -e:1:in `load': cannot load such file -- install (LoadError)
from -e:1:in `<main>'
(1)
Process finished with exit code 1
I do not even know where to look for this issues, is this a RubyMine issue or not required Gem issue?
Ruby 2.3.0
Any help is appreciated!!!
It is nearly impossible to understand what you are trying to achieve, but the behaviour is clear:
load($0=ARGV.shift)
(setting globals makes no impact and omitted for clarity) inline;install
to it;ARGV.shift
extracts the first command line argument (install
) and passes it toload
;load
fails giving you the error message.This issue: