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

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

Closed
iOS-Propelit opened this issue Apr 17, 2019 · 6 comments
Closed

Comments

@iOS-Propelit
Copy link

iOS-Propelit commented Apr 17, 2019

I have been following the steps the compile msdkui tools. I was successful till

$ cat .env.rb
ENV['MSDKUI_APP_ID_IOS'] = "your app id"
ENV['MSDKUI_APP_TOKEN_IOS'] = "your app code"
ENV['MSDKUI_APP_LICENSE_IOS'] = "your license"

but at

$ bundle install

it shows this error

Your user account isn't allowed to install to the system RubyGems.
You can cancel this installation and run:

bundle install --path vendor/bundle

to install the gems into ./vendor/bundle/, or you can enter your password
and install the bundled gems to RubyGems using sudo.

Password:

Your user account isn't allowed to install to the system RubyGems.
You can cancel this installation and run:

bundle install --path vendor/bundle

to install the gems into ./vendor/bundle/, or you can enter your password
and install the bundled gems to RubyGems using sudo.

Password:
Installing unf_ext 0.0.7.5 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

Could anyone please help with this.

@imvjk
Copy link

imvjk commented Apr 17, 2019

I think running the command with sudo should work.

@iOS-Propelit
Copy link
Author

@imvjk tried

sudo bundle install

still shows same thing.

@imvjk
Copy link

imvjk commented Apr 17, 2019

and what about
bundle install --path vendor/bundle

@iOS-Propelit
Copy link
Author

@imvjk nope even that gives the same.

@imvjk
Copy link

imvjk commented Apr 17, 2019

what does this give to you?
gem list | grep bundler

@stefan-troyke
Copy link
Contributor

Hi,

I had very similar issues and you should try a user installation rather than the system one. Please try to follow the steps in the troubleshooting section of the contribution guide. I hope that helps.

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

3 participants