rvm-exec:构建docker

时间:2018-12-10 11:31:35

标签: ruby docker docker-build

我在docker中运行着ruby应用程序。我试图在ubuntu VM上运行docker容器,效果很好。但是当我尝试在另一个VM上运行相同的docker-ruby应用程序时,这给了我错误-

Step 14/17 : RUN bundle install --gemfile test/Gemfile
 ---> Running in b545e371e3
/usr/bin/bundle: 2: exec: /usr/local/rvm/bin/rvm-exec: not found
ERROR: Service 'test' failed to build: The command '/bin/sh -c bundle install --gemfile test/Gemfile' returned a non-zero code: 127

我在两个ubuntu系统上都使用相同的存储库和ruby版本(1.8.7),仍然面临问题。有人可以帮助/建议此问题的解决方案吗?预先感谢。

0 个答案:

没有答案