Noticed the instruction to read "INSTALL" when installing the devkit for mingw on http://rubyinstaller.org/downloads/ one thought might be to name it INSTALL.TXT so that it''s easier for doze users :) If there''s a git location for that file I''d be happy to change it. Thanks! -=r
On Wed, May 6, 2009 at 11:58 AM, Roger Pack <rogerdpack at gmail.com> wrote:> Noticed the instruction to read "INSTALL" when installing the devkit > for mingw on > http://rubyinstaller.org/downloads/ > one thought might be to name it INSTALL.TXT so that it''s easier for > doze users :) >Good catch, no repo for it, since was built by hand.> If there''s a git location for that file I''d be happy to change it. > Thanks!I''m willing to reupload the file if you want to provide a better INSTALL.txt file? -- 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
> I''m willing to reupload the file if you want to provide a better > INSTALL.txt file?I''m not sure if this is "INSTALL.txt" material or material for index.html, but here it is: ====start====quick install instructions (1.8.6, 1.9): unzip a {1.8.6,1.9}.7z file somewhere rename/move it to c:\Ruby i.e. c:\Ruby has bin lib share then unzip the devkit and move its contents into the same folder (devkit is a bundled up mingw GCC+msys). i.e. c:\Ruby now has bin lib share devkit INSTALL.txt (note: the message "This folder already contains a folder named bin" is expected--choose "yes" to confirm folder replace). next add c:\Ruby\bin to the beginning of your path and enjoy the power of a faster ruby with a compiler. ==Detailed instructions= Same as above--however, if you want to use a folder other than c:\Ruby then please change devkit/msys/1.0.11/etc/fstab to properly point to the right directories for mingw and /usr/local How to add ruby\bin to your path: either do this on the command line thus: set PATH=c:\ruby-1.9.1-p0-i386-mingw32\bin;%PATH% or change the PATH variable within my computer -> properties -> advanced -> environment variables (add it to the front of path within "system variables"). == How to determine success =If successful you should get an output like (for 1.8): C:\>ruby -v ruby 1.8.6 (2009-03-31 patchlevel 368) [i386-mingw32] C:\>gcc -v Reading specs from C:/Ruby/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/specs ... and installing binary gems should work properly: C:\>gem install eventmachine Building native extensions. This could take a while... Successfully installed eventmachine-0.12.6 ... If a gem fails to compile because of lack of headers, you can most times get away with doing a gem install gemname --platform=mswin32 to install msvc binaries for it. They are *typically* compatible. Enjoy! =The rubyinstaller team feedbacks? -=r