我在ubuntu机器上安装了jruby-9.2.0.0
,并且Rails应用程序使用的是rails 3.1.12
版本,我试图在jruby上运行我的应用程序,并且当我尝试使用bundle install
命令安装所有gems时,我遇到了一个gem 'amatch'
current directory: /home/user/.rvm/gems/jruby-9.2.0.0/gems/amatch-0.4.0/ext
/home/user/.rvm/rubies/jruby-9.2.0.0/bin/jruby -r ./siteconf20181018-3341-1y55yce.rb extconf.rb 创建Makefile
current directory: /home/user/.rvm/gems/jruby-9.2.0.0/gems/amatch-0.4.0/ext
make "DESTDIR=" clean
current directory: /home/user/.rvm/gems/jruby-9.2.0.0/gems/amatch-0.4.0/ext
make "DESTDIR="
make: *** No rule to make target '/home/user/.rvm/rubies/jruby-9.2.0.0/lib/ruby/include/ruby/ruby.h', needed by 'amatch_ext.o'. Stop.
make failed, exit code 2
请帮助我解决此错误。谢谢