Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rainbow gem failure on Ruby 2.4 #551

Closed
ain opened this issue Jan 31, 2017 · 6 comments
Closed

rainbow gem failure on Ruby 2.4 #551

ain opened this issue Jan 31, 2017 · 6 comments

Comments

@ain
Copy link
Contributor

ain commented Jan 31, 2017

On Ruby 2.4 I'm getting a following native extension build failure:

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

    can't modify frozen String

Gem files will remain installed in /usr/local/rvm/gems/ruby-2.4.0/gems/rainbow-2.2.1 for inspection.
Results logged to /usr/local/rvm/gems/ruby-2.4.0/extensions/x86_64-linux/2.4.0/rainbow-2.2.1/gem_make.out

An error occurred while installing rainbow (2.2.1), and Bundler cannot continue.
Make sure that `gem install rainbow -v '2.2.1'` succeeds before bundling.

Platform: phusion/passenger-ruby24

@ain
Copy link
Contributor Author

ain commented Jan 31, 2017

Seems to be an issue discussed at ku1ik/rainbow#49

@ain
Copy link
Contributor Author

ain commented Jan 31, 2017

I also noticed 2.4 test is commented out, was this one of the reasons?

@CloCkWeRX
Copy link
Member

Pin to <= 2.2.1 for now is the fastest workaround; thought I'd done it for ffcrm but apparently not!

@CloCkWeRX
Copy link
Member

CloCkWeRX commented Feb 1, 2017

I also noticed 2.4 test is commented out, was this one of the reasons?

7af4f5a - I suspect so.

@CloCkWeRX
Copy link
Member

@ain take a look at the above linked ticket; think you are going to have a bad time with Ruby 2.4.0 and Rails 4.2.X for a bit.

Rails 5 for ffcrm is probably not guaranteed to work happily either without work.

@ain
Copy link
Contributor Author

ain commented Feb 1, 2017

Thanks a lof for the prompt support!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants