: Your Ruby version is 2.6.6, but your Gemfile specified 3.1.2 (Bundler::RubyVersionMismatch)
我使用ruby-install如何使puma-dev使用通过ruby-install安装的ruby版本,以便所有不同的应用程序都可以使用不同版本的Ruby?
在Archlinux上使用Ruby构建早期版本的ruby遇到了一些问题。我怀疑红宝石制造也是如此。在尝试安装Ruby2.1.5、2.1.6、2.3.0、2.3.1、2.3.4之后,我看到了以下内容。#error "This file is obsolete; please update your software."ossl_ssl.c:465:
我通过自制软件安装了chruby和ruby-install。如果我从命令行调用chruby,它就能工作。* ruby-2.4.1 No such file or directory - chruby (Errno::ENOENT)def successful_functionend
我在脚本中获得与命令行相同的ruby-install输出。