我正在尝试使用命令
创建bosh发布bosh create release --force --final --with-tarball
我收到了以下错误
Error:
> + bundle package --all
> rbenv: bundle: command not found
>
> The `bundle' command exists in these Ruby versions:
> 2.2.4
'admin_ui' pre-packaging failed
在我的Linux机器上安装了以下软件版本。
which ruby
/root/.rbenv/shims/ruby
ruby --version
ruby 2.2.4p230 (2015-12-16 revision 53155)
which bundle
/root/.rbenv/shims/bundle
bundle --version
Bundler version 1.11.2
更新 〜/ .profile文件
export PATH="$HOME/.rbenv/bin:$PATH"
eval "$(rbenv init -)"
我在创建波什发布之前我这个文件来源
错误:
> Using membrane 0.0.5
> Installing mime-types-data 3.2015.1120
>
> Gem::InstallError: mime-types-data requires Ruby version >= 2.0.
答案 0 :(得分:0)
看起来SOMEKEYWORD:{SOMEVALUE}
SOMEKEYWORD:{SOMEVALUE/:WITHCOLONESCAPED}
SOMEKEYWORD:{SOMEVALUE/:WITHSEMICOLONESCAPED}
SOMEKEYWORD;TYPE={SOMETYPE}:{SOMEVALUE}
SOMEKEYWORD;TYPE={SOMETYPE}:{SOMEVALUE/:WITHCOLONESCAPED}
SOMEKEYWORD;TYPE={SOMETYPE}:{SOMEVALUE/;WITHSEMICOLONESCAPED}
SOMEKEYWORD;ARG1=MYARG1;TYPE={SOMETYPE}:{SOMEVALUE}
SOMEKEYWORD;ARG1=MYARG1;TYPE={SOMETYPE}:{SOMEVALUE/:WITHCOLONESCAPED}
SOMEKEYWORD;ARG1=MYARG1;TYPE={SOMETYPE}:{SOMEVALUE/;WITHSEMICOLONESCAPED}
SOMEKEYWORD;ARG1=MYARG1;TYPE={SOMETYPE};ARG2=MYARG2:{SOMEVALUE}
SOMEKEYWORD;ARG1=MYARG1;TYPE={SOMETYPE};ARG2=MYARG2:{SOMEVALUE/:WITHCOLONESCAPED}
SOMEKEYWORD;ARG1=MYARG1;TYPE={SOMETYPE};ARG2=MYARG2:{SOMEVALUE/;WITHSEMICOLONESCAPED}
在自己的环境中运行(请参阅:它不会加载所有bosh
等配置。)
有人可能会尝试将与.bashrc
相关的内容放入rbenv
文件中(应由~/.profile
阅读,)或尝试其他方式告诉bosh
环境。