1
我试图创建波什发布使用命令rbenv:包:找不到命令
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.
我已经更新了〜/ .profile文件 –
我不熟悉'bosh'的问题,我不知道,什么shell配置它读取,或者有它它自己的配置。请尝试将相同的两个字符串添加到'〜/ .bashrc','〜/ .bash_profile'或(首选方式)到'bosh'的环境配置中,如果它有一个。 – mudasobwa