ruby - rbenv: bundle: command not found -
i trying create bosh release using command
bosh create release --force --final --with-tarball
i got following error
error: > + bundle package --all > rbenv: bundle: command not found > > `bundle' command exists in these ruby versions: > 2.2.4 'admin_ui' pre-packaging failed
in linux machine following version of software installed.
which ruby /root/.rbenv/shims/ruby ruby --version ruby 2.2.4p230 (2015-12-16 revision 53155) bundle /root/.rbenv/shims/bundle bundle --version bundler version 1.11.2
update: ~/.profile file
export path="$home/.rbenv/bin:$path" eval "$(rbenv init -)"
i source file before creating bosh release
error:
> using membrane 0.0.5 > installing mime-types-data 3.2015.1120 > > gem::installerror: mime-types-data requires ruby version >= 2.0.
looks bosh
runs in it’s own environment (read: not load .bashrc
etc configs.)
one might try put rbenv
-related ~/.profile
file (it should read bosh
,) or try way tell bosh
environment.
Comments
Post a Comment