Error installing rails on Ubuntu 12.04 (Failed to build gem native extension) -


i'm trying install rails on ubuntu 12.04 i'm having issues

i tried

sudo gem install rails --pre 

and got

building native extensions.  take while... error:  error installing rails:     error: failed build gem native extension.  /usr/bin/ruby1.9.1 extconf.rb extconf.rb:13:in `require': cannot load such file -- mkmf (loaderror) extconf.rb:13:in `<main>'   gem files remain installed in /usr/lib/ruby/gems/1.9.1/gems/atomic-1.1.10   inspection. results logged /usr/lib/ruby/gems/1.9.1/gems/atomic-1.1.10/ext/gem_make.out 

this because when installed ruby did not install build tools well.

i wrote a blog post installing ruby + rails on ubuntu has helped out lot of people, , too.


Comments

Popular posts from this blog

javascript - DIV "hiding" when changing dropdown value -

Does Firefox offer AppleScript support to get URL of windows? -

android - How to install packaged app on Firefox for mobile? -