Problem :
I am trying to execute the below script:
gem install rdoc --no-document
gem install bundle
bundle
I have already added /srv/myuser/.gem/ruby/2.5.0/bin to the path so I was able to install the gems.
I can also find the bundle when I try to perform:
ls -ltrah /srv/myuser/.gem/ruby/2.5.0/bin
I have also tried to install the bundler but that is not helping the cause. Am I doing anything wrong here ?
The gem which bundle command is showing me nothing. The gem spec bundle command is showing it to me.
I also tried to install the bundler before running the bundle but the same issue as follows
“Can't find gem bundler (>= 0.a) with executable bundle (gem::gemnotfoundexception)”
appears while executing below commands :
gem list bundle shows
bundle (0.0.1)
bundler (2.0.1)
Does anyone have any solution on my issue?