-
Notifications
You must be signed in to change notification settings - Fork 303
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 to build gem native extension. #188
Comments
Hello, This is related to issue #178, please manually edit generated
Please, do not mix Ruby 64bits with 32bits DevKit, as indicated in the RubyInstaller download page, you need to use the exact version of DevKit. |
I did it firstly!...
|
Hello, I'm not sure to understand what you're saying. First: if you use Ruby x64 (64bits version) you need to use only After you have executed - C:/Ruby200-x64 And then proceed with If you have problems installing some gems, please refer to the Wiki page: https://github.com/oneclick/rubyinstaller/wiki/Troubleshooting As pointed out in RubyInstaller mailing list and here, you need to provide more information of the problems you're having. Reference links: |
I did everything according to the instructions. |
You're not providing the output of the error, you're just stating what you did and that worked. Please, read the links I provided, please provide the error information I'm requesting (and that is mentioned there) please read the troubleshooting page. |
@yoykiee Yoykie, |
sroller, But I can't install DevKit! ERROR: Error installing : I read https://github.com/oneclick/rubyinstaller/wiki/Troubleshooting> ERROR: Failed to build gem native extension, and all right. But, DevKit dont want setup! xD So, maybe you need some information for understand how to fix my mistake, please? Useful information before reporting an error: DevKit - Cant Install that!! Win7 + rails maybe bad idea... |
@yoykiee if english is not your first language, please state that. By showing what you have done, it is clear DevKit has installed. However, you're saying Going to say this one one last time: Please read the following post: https://groups.google.com/forum/#!topic/rubyinstaller/cAKLJmhfG-U Where it outlines what you need to provide us to help you. Please provide exactly that information, and the output shown in the console. Not going to respond anymore unless you help us help you. |
Hi yoykie, I run ruby on W7 but not rails. -sr Sent from my BlackBerry® PlayBook™ From: "yoykiee" [email protected] sroller, But I can't install DevKit! ERROR: Error installing : I read https://github.com/oneclick/rubyinstaller/wiki/Troubleshooting>ERROR: But, DevKit dont want setup! xD So, maybe you need some information for understand how to fix my mistake, Useful information before reporting an error: DevKit - Cant Install that!! Win7 + rails maybe bad idea... — |
luislavena,
sroller, |
To install DevKit, you need to follow the DevKit installation instructions listed here: https://github.com/oneclick/rubyinstaller/wiki/Development-Kit It is clear from your previous comments you did download and extracted DevKit, it is clear you don't understand that DevKit installation is just Please ensure you've the right version of DevKit, as mentioned several times already:
You need to download and extract mingw64-64-4.7.2 DevKit.
PLEASE: provide the gem name, also read the troubleshooting page: https://github.com/oneclick/rubyinstaller/wiki/Troubleshooting That covers most of the common problems of gem installations (due errors in the environment) Please, do you best to read carefully what I've wrote before, follow the links that I've provided. |
@yoykiee If you want to use Rails, I strongly recommend you uninstall and remove what you did with RubyInstaller and DevKit and instead install RailsInstaller: Download RailsInstaller 2.2.2 version and use that instead. It should setup everything for you. Considering your lack of experience with Ruby and dealing with the issues I've mentioned before, it is highly recommend you use something that is easier out of the box for getting started. |
Im crying... But I still get the error when installing any binary gems.
And I dont know what I must do or add... Also, I add Devkit/bin/ to %path%, but I still have the error. PS: http://railsinstaller.org/ - ruby 1.9.3 + rails 3.2 >>> so legasy. |
@yoykiee the following is not an error:
There is nothing else to add. Please, remove RubyInstaller and DevKit, remove the folders it generated and install RailsInstaller instead, that comes already out of the box with the things you want to use. This is the only and last suggestion I can provide you, you have failed to provide me with the information I've asked you several times:
Unless you step back for a second on what you're trying and READ my instructions, please do not reply to this with more issues that is lacking details. Do yourself a favor: remove DevKit and RubyInstaller and download RailsInstaller version 2.2.2. |
I have the same exact problem. I can understand @yoykiee ... I Installed ruby, rubygems and rubydev kit. The versions are: Then I did the ruby dk.rb init; I manually added ruby's location (although it was already there) and When I do the ruby dk.rb install it goes : C:\Users\nuria\RubyDevKit> ruby dk.rb install I want to install jekyll. And It always ends up like: C:> gem install jekyll In other words, same situation. |
I notice that this is closed. I however I have the same exact problem.. and since there was no solution... Please reopen this issue ;-; Also @yoykiee did you find the solution? |
@nuriasakura You're using RubyInstaller-2.5. It is not compatible to the old devkit. Instead you should run "x64-mingw32" means the true 64-bit version - the "32" in the name is for historical reasons. |
@nuriasakura If it still doesn't work for you, please open a ticket at RubyInstaller2. |
@larskanis thank you very much! It worked! |
Hi! Im trying setup rails on Windows 7.
I install ruby x64 from rubyinstaller.org
C:\DevKit>ruby -v
ruby 2.0.0p247 (2013-06-27) [x64-mingw32]
After, I install Ruby 2.0.0 x64 (64bits): mingw64-64-4.7.2
"ruby dk.rb init" doesn't find installed ruby.
After, I add mannualy ruby directory.
But,
C:\DevKit>ruby dk.rb install
[INFO] Skipping existing gem override for 'C:/Ruby200-x64'
[WARN] Skipping existing DevKit helper library for 'C:/Ruby200-x64'
I searched all the internets, help, please...
PS: Im trying with mingw64-32-4.7.2, I have same errors.
The text was updated successfully, but these errors were encountered: