尝试在orangePI(ubuntu)上安装huginn,但它需要Ruby version >= 2.2.2
,而我有2.1.2
所以我尝试安装新的ruby 2.3.3,需要很长时间才能进入/usr/local/rvm/rubies/ruby-2.3.3
现在运行bundle来构建huginn,它说:
bash: /usr/local/bin/bundle: /usr/bin/ruby2.1: bad interpreter: No such file or directory
所以我尝试将ruby 2.3.3设置为默认值:
rvm --default use 2.3.3
结果是:
bash: rvm: command not found
我尝试添加路径,但仍然没有运气:
echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function' >> ~/.bashrc
我在/usr/local/rvm/bin/rvm/
找到了rvm
尝试运行它:
/usr/local/rvm/bin/rvm use ruby-2.3.3
结果是:Unknown ruby interpreter version (do not know how to handle): [2.2.2,RUBY_VERSION].max.
RVM is not a function, selecting rubies with 'rvm use ...' will not work.
所以经过几天的搜索后,我是如何建造huginn的。我有ruby 2.3.3但是现在捆绑说:
bash: /usr/local/bin/bundle: /usr/bin/ruby2.1: bad interpreter: No such file or directory
只是不知道如何修复ruby,因为rvm说:
bash: rvm: command not found
任何帮助将不胜感激