Saya mencoba menginstal rel pada Ubuntu Natty Narwhal 11.04, menggunakan ruby1.9.1.
Saya menginstal ruby using apt-get install ruby1.9.1-full
yang berisi paket dev. Saya mencari kesalahan di Google dan semuanya menyarankan agar saya menginstal 1.9.1-dev yang sudah saya miliki.
Building native extensions. This could take a while...
ERROR: Error installing rails:
ERROR: Failed to build gem native extension.
/usr/bin/ruby1.8 extconf.rb
extconf.rb:36:in `require': no such file to load -- mkmf (LoadError)
from extconf.rb:36
Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/bcrypt-ruby-3.0.1 for inspection.
Results logged to /usr/lib/ruby/gems/1.8/gems/bcrypt-ruby-3.0.1/ext/mri/gem_make.out