The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
Hpricot and Sandbox for Win32

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Red Handed

Posts: 1158
Nickname: redhanded
Registered: Dec, 2004

Red Handed is a Ruby-focused group blog.
Hpricot and Sandbox for Win32 Posted: Jul 21, 2006 1:40 PM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by Red Handed.
Original Post: Hpricot and Sandbox for Win32
Feed Title: RedHanded
Feed URL: http://redhanded.hobix.com/index.xml
Feed Description: sneaking Ruby through the system
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Red Handed
Latest Posts From RedHanded

Advertisement

Mauricio checked in some Rakefiles for cross-compiling to win32, so I’ve got some win32 gems for Hpricot and the (FF)Sandbox. The majority of you can now:

 gem install hpricot --source code.whytheluckystiff.net
 gem install sandbox --source code.whytheluckystiff.net

THE SANDBOX ONE IS COMPILED FOR 1.8.4 SO IT HAS TOTALLY GOT HOLES. And yet, fun can still be had I’m sure.

As for cross-compiling, I’m using mingw on FreeBSD. Here’s how:

 cd /usr/ports/devel/mingw32-gcc
 sudo make install
 cd ~/sand
 wget http://ftp.ruby-lang.org/pub/ruby/binaries/mingw/1.8/ruby-1.8.4-i386-mingw32.tar.gz
 mv usr/local RUBY-1_8_4-MINGW32
 rm -rf usr
 cd ~/dev
 svn co https://code.whytheluckystiff.net/svn/sandbox/trunk sandbox
 cd sandbox
 export MINGW32_RUBY=/home/why/sand/RUBY-1_8_4-MINGW32
 export MINGW32_PREFIX=mingw32
 rake rubygems_win32

I mean that’s alot better than putting together a VM and trying to track down a decent free Microsoft compiler. A couple weeks ago, I spent six hours on it and made no progress.

Read: Hpricot and Sandbox for Win32

Topic: No Presentation at RubyConf 2006 Previous Topic   Next Topic Topic: The Thrilling Freaky-Freaky Sandbox Hack!!

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use