如何在Docker上安装Ruby? [英] How to install Ruby on docker?
本文介绍了如何在Docker上安装Ruby?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
错误:安装calabash-android时出错:
luffa需要Ruby版本> = 2.0。
解决方案
您可以从...开始查看dockerfile: p>
FROM ruby:2.3.0
这将使用已安装ruby的 docker image ruby 。
I am trying to install ruby on docker. I could install the 1.9 versions but it is not possible to install the latest version such as 2.2.0 and above. I am actually trying to set up calabash on docker. Have tried this. Whenever I try to install calabash-android in it getting the error
ERROR: Error installing calabash-android:
luffa requires Ruby version >= 2.0.
解决方案
You could start view a dockerfile starting with:
FROM ruby:2.3.0
That would use the docker image ruby, with ruby already installed.
这篇关于如何在Docker上安装Ruby?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文