错误代码:
0 1 2 3 4 5 6 7 8 9 10 |
[root@Test1 ~]# gem install sqlite3-ruby Building native extensions. This could take a while... ERROR: Error installing sqlite3-ruby: ERROR: Failed to build gem native extension. /usr/bin/ruby extconf.rb mkmf.rb can't find header files for ruby at /usr/lib/ruby/ruby.h Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/sqlite3-1.3.12 for inspection. Results logged to /usr/lib/ruby/gems/1.8/gems/sqlite3-1.3.12/ext/sqlite3/gem_make.out |
解决方法:
0 |
yum install ruby-devel |
申明:除非注明Byrd's Blog内容均为原创,未经许可禁止转载!详情请阅读版权申明!