jdliss / shoulda-callback-matchers

Test existence of your Rails callbacks without having to call them
MIT License
134 stars 18 forks source link

Can't modify frozen String #25

Open RoxasShadow opened 7 years ago

RoxasShadow commented 7 years ago

Hello.

Most of the times happens that either me or my CI can't build this gem.

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

    can't modify frozen String

Gem files will remain installed in /Users/giovanni/Desktop/honeypot/vendor/bundle/ruby/2.3.0/gems/shoulda-callback-matchers-1.1.4
for inspection.
Results logged to
/Users/giovanni/Desktop/honeypot/vendor/bundle/ruby/2.3.0/extensions/x86_64-darwin-16/2.3.0/shoulda-callback-matchers-1.1.4/gem_make.out

Ruby is 2.3.3p222, Rails is 4.2.7.1

Unfortunately I can't find the location where this frozen string modification is happening 😞

g3d commented 7 years ago

:+1: same issues, happens on CI inside docker

ruby: 2.4.0

g3d commented 7 years ago

Issue was fixed by adding gem update --system before bundle install step