gem - Error in set up Rails -
i trying learn ruby on rails. have installed ubuntu in virtualbox under host system windows 7 64 bit. have set ruby , next step want set rails. after entering command:
sudo gem install rails
i got following messages:
fetching: minitest-4.7.5.gem (100%) fetching: atomic-1.1.13.gem (100%) 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:13:in `'
gem files remain installed in /var/lib/gems/1.9.1/gems/atomic-1.1.13 inspection. results logged /var/lib/gems/1.9.1/gems/atomic-1.1.13/ext/gem_make.out
what should solve situation? ready give additional info need. thank help.
when error, it's because forgot install ruby1.9.1-dev , make.
Comments
Post a Comment