Hello,
> When I try to check whether DevKit installation using following
> commend
>
> gem install rdiscount --platform=ruby
>
> I am getting following error..Can anyone help me out..
>
This means you installed DevKit and executed both "ruby dk.rb init"
and "ruby dk.rb install", correct?
Can you please provide the following information?
Output of of the following commands:
SET PATH
SET COMSPEC
REG QUERY "HKCU\Environment"
REG QUERY "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment"
REG QUERY "HKCU\Software\Microsoft\Command Processor"
REG QUERY "HKLM\Software\Microsoft\Command Processor"
CHCP
Also, please provide details about what command prompt did you use
(cmd.exe?), what operating system are you using (specific version and
language) and if you installed RubyInstaller under the same account or
using Administrative privileges.
Thank you.
--
Luis Lavena
AREA 17
-
Perfection in design is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.
Antoine de Saint-Exupéry
May be you should show us also content of your
C:\Ruby192\lib\ruby\1.9.1\rubygems\defaults\operating_system.rb
Btw. It appears that you are using Ruby-1.9.2-p0 while p136 is already
available ...
Vit
How you determine that? both 1.9.2-p0 and p136 result in the same
output when mkmf fails.
The difference si in the operating_system.rb ... Even if DK is not
installed, there should be suggestion that he should download it and
that was not in p0 yet ... And while I see no message about enhancing
path or something like that, I suspect that DK is not properly
integrated and that is the p0 behavior.
Vit
Oh, sorry, I completely forgot about that.
Also, there is no "DevKit" mention in the output.
You are smarter than me :-P
--
You received this message because you are subscribed to the Google Groups "RubyInstaller" group.
To post to this group, send email to rubyin...@googlegroups.com.
To unsubscribe from this group, send email to rubyinstalle...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyinstaller?hl=en.
Thank you.
> [snip]
From what I see all the information is in the right place, but...
> Yes, I am using cmd.exe, and I am using windows vista, english version.
> All I have installed in admin previlage.
Are you attempting to install gems using a elevated/admin Command Prompt?
Since you installed Ruby as admin, your normal user might not have
permissions to install gems or write to C:\Ruby192 directory.
We didn't see "Temporarily enhancing PATH to include DevKit..." in the
output, so we thought wasn't installed.
Can you provide the contents of mkmf.log? If you search for it inside
Ruby192, will find it inside gems/1.9.1/gems/rdiscount directory.
Thank you.
--
You received this message because you are subscribed to the Google Groups "RubyInstaller" group.
To post to this group, send email to rubyin...@googlegroups.com.
To unsubscribe from this group, send email to rubyinstalle...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyinstaller?hl=en.
Thank you.
> info about mkmf.log
> "gcc -o conftest -IC:/Ruby192/include/ruby-1.9.1/i386-mingw32
> -IC:/Ruby192/include/ruby-1.9.1/ruby/backward
> -IC:/Ruby192/include/ruby-1.9.1 -I. -O3 -g -Wextra -Wno-unused-parameter
> -Wno-parentheses -Wpointer-arith -Wwrite-strings
> -Wno-missing-field-initializers -Wno-long-long conftest.c -L.
> -LC:/Ruby192/lib -L. -lmsvcrt-ruby191-static -lshell32 -lws2_32 "
> gcc: CreateProcess: No such file or directory
Ouch, the dreaded No such file or directory.
Windows Vista + GCC.
- Which SP of Vista do you have installed?
- Which version of the DevKit did you install? The one from downloads?
(DevKit-tdm-32-4.5.1-20101214-1400-sfx.exe)
- Do you have by chance any other MinGW installation?
Can you try the following In a new command prompt?
C:\Users\user\DevKit\devkitvars.bat
Then, try:
gcc --version
And try installing the gem again:
gem install rdiscount --platform=ruby
--
You received this message because you are subscribed to the Google Groups "RubyInstaller" group.
To post to this group, send email to rubyin...@googlegroups.com.
To unsubscribe from this group, send email to rubyinstalle...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyinstaller?hl=en.
Is a known Vista issue of GCC, was fixed long ago (in 3.4.5) but is
back under certain versions of Vista, specially the ones without
Service Pack installed.
Please try the following:
CD C:\Users\user\DevKit
SET PATH=%PATH%;%CD%\mingw\libexec\gcc\mingw32\4.5.1
And try the compilation process again.
Hmm, here is some thread where they say how to analyze this issue:
http://lists-archives.org/mingw-users/threads.html#19318
--
You received this message because you are subscribed to the Google Groups "RubyInstaller" group.
To post to this group, send email to rubyin...@googlegroups.com.
To unsubscribe from this group, send email to rubyinstalle...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyinstaller?hl=en.
Also at the end of this thread is interesting solution:
http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=73219
--
You received this message because you are subscribed to the Google Groups "RubyInstaller" group.
To post to this group, send email to rubyin...@googlegroups.com.
To unsubscribe from this group, send email to rubyinstalle...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyinstaller?hl=en.
Would one of you please add a topic to https://github.com/oneclick/rubyinstaller/wiki/Troubleshooting that includes something similar to http://wiki.codeblocks.org/index.php?title=Installing_MinGW_with_Vista#Executeables (add add the directory containing cc1plus.exe to %PATH%) and a link to the MinGW tracker bug?
Luis...do you know of a better bug report for this than http://sourceforge.net/tracker/?func=detail&aid=3092806&group_id=2435&atid=102435 or
Jon
---
blog: http://jonforums.github.com/
twitter: @jonforums
Adding the issues.
> Luis...do you know of a better bug report for this than http://sourceforge.net/tracker/?func=detail&aid=3092806&group_id=2435&atid=102435 or
>
Only the ones in MinGW threads.
Added that and the AutoRun issue:
https://github.com/oneclick/rubyinstaller/wiki/Troubleshooting#gems_fails_vista
https://github.com/oneclick/rubyinstaller/wiki/Troubleshooting#gems_fails_autorun