ruby - Unable to install Rails. Getting Error message. -


ubuntu such pain sometimes. trying install specific version of rails (4.2.2) rails tutorial doing , commandline screaming code @ me in response. point me in right direction? thank you.

i first put...

sudo gem install rails -v 4.2.2

and big ugly thing...

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

you might want @ this question.

also, seem using default system ruby installed via apt-get. consider using rvm instead, automatically takes care of installing missing dependencies via package manager.


Comments

Popular posts from this blog

c# - Better 64-bit byte array hash -

webrtc - Which ICE candidate am I using and why? -

php - Zend Framework / Skeleton-Application / Composer install issue -