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