因为“eventmachine 1.0.3”无法捆绑安装

时间:2020-12-04 00:21:59

$ bundle install

美元包安装

Errno::ENOENT: No such file or directory @ rb_sysopen - /Users/Sean/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/eventmachine-1.0.3/ext/gem_make.out

An error occurred while installing eventmachine (1.0.3), and Bundler cannot
continue.
Make sure that `gem install eventmachine -v '1.0.3'` succeeds before bundling.

$ gem list

美元宝石列表

eventmachine (1.0.3 x86-mingw32)

$ gem build eventmachine -v 1.0.3

$ gem构建eventmachine -v 1.0.3

ERROR:  While executing gem ... (Gem::CommandLineError)
Too many gem names (eventmachine, 1.0.3); please specify only one

3 个解决方案

#1


31  

Try to edit Gemfile.lock and change eventmachive version from 1.0.3 to 1.0.4. This works for me.

试着编辑Gemfile。锁并更改eventmachive版本从1.0.3改为1.0.4。这适合我。

#2


8  

  • bundle update
  • 包更新
  • bundle install Hope this will work.
  • 捆绑安装希望这将工作。

#3


2  

I had a similar issue with eventmachine -v '1.0.4' and i resolved it like this.

在eventmachine -v '1.0.4'中我也有类似的问题,我这样解决了。

gem install eventmachine -v '1.0.4'  -- --with-cppflags=-I/usr/local/opt/openssl/include

#1


31  

Try to edit Gemfile.lock and change eventmachive version from 1.0.3 to 1.0.4. This works for me.

试着编辑Gemfile。锁并更改eventmachive版本从1.0.3改为1.0.4。这适合我。

#2


8  

  • bundle update
  • 包更新
  • bundle install Hope this will work.
  • 捆绑安装希望这将工作。

#3


2  

I had a similar issue with eventmachine -v '1.0.4' and i resolved it like this.

在eventmachine -v '1.0.4'中我也有类似的问题,我这样解决了。

gem install eventmachine -v '1.0.4'  -- --with-cppflags=-I/usr/local/opt/openssl/include