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

failed ubuntu install #12

Open
nickblock opened this issue Oct 10, 2017 · 6 comments
Open

failed ubuntu install #12

nickblock opened this issue Oct 10, 2017 · 6 comments

Comments

@nickblock
Copy link

sudo gem install teapot

`Building native extensions. This could take a while...
ERROR: Error installing teapot:
ERROR: Failed to build gem native extension.

current directory: /var/lib/gems/2.3.0/gems/rainbow-2.2.2/ext

/usr/bin/ruby2.3 mkrf_conf.rb

current directory: /var/lib/gems/2.3.0/gems/rainbow-2.2.2/ext
/usr/bin/ruby2.3 -rubygems /usr/share/rubygems-integration/all/gems/rake-10.5.0/bin/rake RUBYARCHDIR=/var/lib/gems/2.3.0/extensions/x86_64-linux/2.3.0/rainbow-2.2.2 RUBYLIBDIR=/var/lib/gems/2.3.0/extensions/x86_64-linux/2.3.0/rainbow-2.2.2`

Ubuntu 16.04

@ioquatix
Copy link
Collaborator

Hi, yeah, I think there is a bug in Rainbow on Ubuntu - I recall seeing this in completely unrelated (to teapot) ruby systems. I will check it out, thanks.

@ioquatix
Copy link
Collaborator

Here it is: ku1ik/rainbow#44 and the solution was to use something other than Rainbow...

@ioquatix
Copy link
Collaborator

It looks like this will be fixed in Rainbow 3.0 but I'm not sure what the schedule to release that is...

@ioquatix
Copy link
Collaborator

Can you try the following:

gem install rainbow -v 2.1.0

then

gem install teapot

and let me know the output of both. Thanks.

@ioquatix
Copy link
Collaborator

It looks like the author of Rainbow would like you to try the current head.

ku1ik/rainbow#58 (comment)

@nickblock
Copy link
Author

I installed the rainbow 2.1.0, apparently successfully,
But I still get the same error (ERROR: Failed to build gem native extension), when doing "gem install teapot"

Sorry I'm not familiar with gem at all so I wouldn't know where to start checking out a repos and using that. I just came here from reddit, someone recommended this as a package manager for c++. Maybe I'll give it another go at a later date! Cheers.

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