我想在Ubuntu 20.04.3 LTS上安装HospitalRun [HospitalRun Link][1]。我克隆了github,当我尝试命令bundle install
时,我得到以下错误:
An error occurred while installing eventmachine (1.2.7), and Bundler cannot continue.
Make sure that `gem install eventmachine -v '1.2.7' --source 'https://rubygems.org/'` succeeds before bundling.
In Gemfile:
jekyll-archives was resolved to 2.2.1, which depends on
jekyll was resolved to 3.9.1, which depends on
em-websocket was resolved to 0.5.2, which depends on
eventmachine
有人能告诉我我做错了什么吗?
您可能缺少为eventmache编译本机扩展所需的ruby-dev包。
sudo apt-get update
sudo apt-get install ruby-dev