← Back to Upcase

Shouter app. extconf.rb failed during bundle of strong_paramters


(Kim Khan) #1

Intermediate Ruby On Rails - Part 1

I received the following err after running bundle after I had added strong-parameters and monban to the Gemfile. How do I fix this situation?

Gem::Install::ExtensionBuildError: ERROR: Failed to build gem native extension.

…/.rvm/rubies/ruby-1.9.3-p385/bin/ruby extconf.rb
checking for ruby/util .h… **** extconf.rb failed ****
Could not create Makefile due to some reason. probably lace of necessar libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options:


(Matthew Sumner) #2

Googling your error I came up this as the second result. It’s tough to tell what your issue is without more information but this post says they fixed the issue by updating ruby to patch lvl 448.

I see your using ruby-1.9.3-p385 and rvm so I’d suggest trying ruby is 1.9.3-p448. rvm --default use 1.9.3-p448