Uday kumar das
Uday kumar das

Reputation: 1613

Gem::Ext::BuildError: ERROR: Failed to build gem native extension - Rails 4

`Gem::Ext::BuildError: ERROR: Failed to build gem native extension.`

`C:/Ruby193/bin/ruby.exe -r ./siteconf20150116-5956-smcp65.rb extconf.rb
creating Makefile`

`make clean Makefile:165: *** target pattern contains no `%'.  Stop.`

`make`

`Makefile:165: *** target pattern contains no `%'.  Stop.`

`make failed, exit code 2`

This error occurs everytime i am creating a new rails application.After run the command rails new Blog i am getting this error.

Upvotes: 3

Views: 5201

Answers (1)

doingweb
doingweb

Reputation: 3708

I just ran into the same error while doing a bundle install. Turns out it's a known issue, but the fix isn't due out until RubyGems 2.5. In the meantime, downgrading to v2.3.0 should be a suitable workaround:

> gem update --system 2.3.0

Upvotes: 1

Related Questions