[rails-oceania] Re: Hpricot segfault OSX - ruby1.9.1

2009-09-15 Thread Lincoln Stoll
Whatever running 'file' on the interpreter gives you is correct. From  
memory, it was x86_64?

Linc

// Sent from my mobile phone.

On 16/09/2009, at 4:44, Adam Salter  wrote:

> So what version of ruby1.9 do I have? 'i386-darwin10' or 'x86_64'
>
> btw: ruby -e 'puts RUBY_VERSION'
> gives '1.9.1'
>
> -Adam
>
> On 16/09/2009, at 1:34 PM, Lincoln Stoll wrote:
>
>> That's because SL reports the kernel architecture as the platform  
>> type, not the userspace architecture. It's been a contentious  
>> issue.. But that's another story.
>>
>> Also, by default macports on 64 bit capable systems will build 64  
>> bit binaries. You can change this to build for 32/64 or 32 only by  
>> playing with the universal variant.
>>
>> Linc
>>
>> // Sent from my mobile phone.
>>
>> On 16/09/2009, at 3:38, Adam Salter  wrote:
>>
>>> I don't know what the hell is going on:
>>>
>>> [r...@omegatron ~]# ruby -v
>>> ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-darwin10]
>>> [r...@omegatron ~]# file `which ruby`
>>> /opt/local/bin/ruby: Mach-O 64-bit executable x86_64
>>>
>>> ruby is saying it's 32-bit, file is saying it's 64-bit
>>>
>>> -Adam
>>>
>>> On 15/09/2009, at 8:54 PM, Bodaniel Jeanes wrote:
>>>
 using stock ruby you definitely want to be doing that, he is  
 using macports ruby 1.9 which based on his `ruby -v` output is 32- 
 bit so he should in fact ensure that he is compiling the  
 extensions as 32-bit

 On Tue, Sep 15, 2009 at 8:21 PM, Pat Allan >>> > wrote:

 Not sure if it's relevant, but for Snow Leopard I installed  
 mysql, pg
 and do_sqlite3 gems configured for 64bit like so:
   sudo env ARCHFLAGS="-arch x86_64" gem install mysql

 --
 Pat

 On 15/09/2009, at 11:04 AM, Bodaniel Jeanes wrote:

 > I'm still running 187 but i have 191 installed (from source). I  
 just
 > tried installing it and I could use the gem fine. I installed  
 like
 > so, just to be sure:
 >
 > $ sudo env ARCHFLAGS="-arch i386" gem install hpricot
 >
 >
 > On Tue, Sep 15, 2009 at 6:20 PM, Adam Salter
 >  wrote:
 > Interesting point...
 > Are you running ruby 1.9.1/hpricot 64bit?
 >
 > -Adam
 >
 > On 15/09/2009, at 6:09 PM, Bodaniel Jeanes wrote:
 >
 >> One thing to consider is that the ruby 1.8.7 that comes with  
 10.6
 >> is 64-bit but your ruby 1.9 seems to be 32-bit. Possibly the gem
 >> install picked up on some incorrect env variables and  
 defaulted to
 >> building Hpricot for 64-bit?
 >>
 >> On Tue, Sep 15, 2009 at 5:43 PM, Adam Salter
 >>  wrote:
 >> Is anybody else seeing a segfault on hpricot on OSX 10.6 and  
 Ruby
 >> 1.9.1?
 >>
 >> I've installed ruby with MacPorts.
 >>
 >> Here's the error:
 >>
 >>> /opt/local/lib/ruby1.9/gems/1.9.1/gems/hpricot-0.8.1/lib/
 >>> fast_xs.bundle: [BUG] Segmentation fault
 >>> ruby 1.8.7 (2008-08-11 patchlevel 72) [universal-darwin10.0]
 >>>
 >>> Abort trap
 >>
 >> ruby -v:
 >> ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-darwin10]
 >>
 >> -Adam
 >>
 >>
 >>
 >>
 >>
 >>
 >>
 >
 >
 >
 >
 >
 > >






>>>
>>>
>>>
>>
>>
>
>
> >

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" group.
To post to this group, send email to rails-oceania@googlegroups.com
To unsubscribe from this group, send email to 
rails-oceania+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rails-oceania?hl=en
-~--~~~~--~~--~--~---



[rails-oceania] Re: Hpricot segfault OSX - ruby1.9.1

2009-09-15 Thread Ian Leitch
I've not been following this thread very closely, but the ruby version
you're building the gem against is 1.8.7, not 1.9.1.

Wild guess... you're building the gem using sudo, does your root user have
/opt/local/bin in PATH?

does 'which ruby' and 'sudo which ruby' give you the same result?

2009/9/16 Adam Salter 

> Firstly, wow cutting edge hardware!
> 'arch -x86_75 irb'
> ;)
>
> Second,
> Protip: require 'rbconfig'
>
> >> Config::CONFIG['CFLAGS']
> NameError: uninitialized constant Config
> from (irb):1
> from /opt/local/bin/irb:12:in `'
> >> require 'config'
> LoadError: no such file to load -- config
> from (irb):2:in `require'
> from (irb):2
> from /opt/local/bin/irb:12:in `'
> >> require 'rbconfig'
> => true
> >> Config::CONFIG['CFLAGS']
> => "-O2 -arch x86_64 -O2 -g -Wall -Wno-parentheses  -fno-common -pipe
> -fno-common"
>
> It _is_ 64 bit. :/
>
>
> And third,
> It works if i install hpricot from source...
>
> now i'm getting json gem compiler errors... even after uninstall/reinstall
>
> /Users/adam/.gem/ruby/1.9.1/gems/json-1.1.9/ext/json/ext/parser.bundle:
> [BUG] Segmentation fault
> ruby 1.8.7 (2008-08-11 patchlevel 72) [universal-darwin10.0]
>
> Abort trap
>
>
> I think my macports archs might be f#$%ked up somewhere along the line.
>
> I was a _early_ snow leopard adopter and a lot changed in the first few
> days...
>
> -Adam
>
> On 16/09/2009, at 2:35 PM, Bodaniel Jeanes wrote:
>
> Nice ... Good tip for me to remember!
> >> Config::CONFIG['CFLAGS']
> => "-arch i386 -arch x86_64 -g -Os -pipe -fno-common -DENABLE_DTRACE
>  -fno-common  -pipe -fno-common  "
>
> Adam, is you see it is compiled as both you can force it to run as one or
> the other by doing:
>
> $ arch -i386 irb
>
> or
>
> $ arch -x86_75 irb
>
> and see if that yields better results (`man arch` for more info)
>
> On Wed, Sep 16, 2009 at 2:30 PM, Ian Leitch  wrote:
>
>> ~ $ irb
>> irb(main):001:0> Config::CONFIG['CFLAGS']
>> => "-O2 -arch x86_64  -fno-common -pipe -fno-common  "
>> irb(main):002:0>
>>
>> 2009/9/16 Bodaniel Jeanes 
>>
>> nevermind, none of those return anything useful for me with regards to the
>>> architecture. Someone who is more knowledgeable about these things could
>>> probably find out using something like Array#pack and the byte orders etc
>>> but this is way beyond my knowledge. If `file` says it is 64-bit it's a good
>>> bet it is and perhaps you should be force-compiling Hpricot as 64-bit
>>> instead...
>>>
>>>
>>> On Wed, Sep 16, 2009 at 2:12 PM, Bodaniel Jeanes  wrote:
>>>
 Sorry .. what about the following constants:
 >> Object.constants.grep /RUBY/
 => ["RUBY_DESCRIPTION", "RUBY_VERSION", "RUBY_COPYRIGHT",
 "RUBY_FRAMEWORK", "RUBY_RELEASE_DATE", "RUBY_FRAMEWORK_VERSION",
 "RUBY_PLATFORM", "RUBY_PATCHLEVEL"]


 On Wed, Sep 16, 2009 at 1:44 PM, Adam Salter 
 wrote:

> So what version of ruby1.9 do I have? 'i386-darwin10' or 'x86_64'
>
> btw: ruby -e 'puts RUBY_VERSION'
> gives '1.9.1'
>
>  -Adam
>
> On 16/09/2009, at 1:34 PM, Lincoln Stoll wrote:
>
> That's because SL reports the kernel architecture as the platform type,
> not the userspace architecture. It's been a contentious issue.. But that's
> another story.
>
> Also, by default macports on 64 bit capable systems will build 64 bit
> binaries. You can change this to build for 32/64 or 32 only by playing 
> with
> the universal variant.
>
> Linc
> // Sent from my mobile phone.
>
> On 16/09/2009, at 3:38, Adam Salter  wrote:
>
> I don't know what the hell is going on:
>
> [r...@omegatron ~]# ruby -v
> ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-darwin10]
> [r...@omegatron ~]# file `which ruby`
> /opt/local/bin/ruby: Mach-O 64-bit executable x86_64
>
> ruby is saying it's 32-bit, file is saying it's 64-bit
>
> -Adam
>
> On 15/09/2009, at 8:54 PM, Bodaniel Jeanes wrote:
>
> using stock ruby you definitely want to be doing that, he is using
> macports ruby 1.9 which based on his `ruby -v` output is 32-bit so he 
> should
> in fact ensure that he is compiling the extensions as 32-bit
>
> On Tue, Sep 15, 2009 at 8:21 PM, Pat Allan <
> p...@freelancing-gods.com> wrote:
>
>>
>> Not sure if it's relevant, but for Snow Leopard I installed mysql, pg
>> and do_sqlite3 gems configured for 64bit like so:
>>   sudo env ARCHFLAGS="-arch x86_64" gem install mysql
>>
>> --
>> Pat
>>
>> On 15/09/2009, at 11:04 AM, Bodaniel Jeanes wrote:
>>
>> > I'm still running 187 but i have 191 installed (from source). I just
>> > tried installing it and I could use the gem fine. I installed like
>> > so, just to be sure:
>> >
>> > $ sudo env ARCHFLAGS="-arch i386" gem install hpricot
>> >
>> >
>> > On Tue, Sep 15, 2009 at 6:20 PM, Adam Salter
>> > < adam.q.sal...@gmail.com> wrote:
>> > I

[rails-oceania] Re: Hpricot segfault OSX - ruby1.9.1

2009-09-15 Thread Bodaniel Jeanes
>
> Firstly, wow cutting edge hardware!
> 'arch -x86_75 irb'
>

Sorry. Typing fast ftl


> ;)
>
> Second,
> Protip: require 'rbconfig'
>

Strange, I didn't have to do that but might be something specific to 10.6
stock Ruby


> >> Config::CONFIG['CFLAGS']
> => "-O2 -arch x86_64 -O2 -g -Wall -Wno-parentheses  -fno-common -pipe
> -fno-common"
>
> It _is_ 64 bit. :/
>

Glad you figured it out.


> And third,
> It works if i install hpricot from source...
>

Out of curiosity, what happens if you do a gem install with ARCH_FLAGS set
to use 64-bit?

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" group.
To post to this group, send email to rails-oceania@googlegroups.com
To unsubscribe from this group, send email to 
rails-oceania+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rails-oceania?hl=en
-~--~~~~--~~--~--~---



[rails-oceania] Re: Hpricot segfault OSX - ruby1.9.1

2009-09-15 Thread Adam Salter
Firstly, wow cutting edge hardware!
'arch -x86_75 irb'
;)

Second,
Protip: require 'rbconfig'

 >> Config::CONFIG['CFLAGS']
NameError: uninitialized constant Config
from (irb):1
from /opt/local/bin/irb:12:in `'
 >> require 'config'
LoadError: no such file to load -- config
from (irb):2:in `require'
from (irb):2
from /opt/local/bin/irb:12:in `'
 >> require 'rbconfig'
=> true
 >> Config::CONFIG['CFLAGS']
=> "-O2 -arch x86_64 -O2 -g -Wall -Wno-parentheses  -fno-common -pipe - 
fno-common"

It _is_ 64 bit. :/


And third,
It works if i install hpricot from source...

now i'm getting json gem compiler errors... even after uninstall/ 
reinstall

> /Users/adam/.gem/ruby/1.9.1/gems/json-1.1.9/ext/json/ext/ 
> parser.bundle: [BUG] Segmentation fault
> ruby 1.8.7 (2008-08-11 patchlevel 72) [universal-darwin10.0]
>
> Abort trap


I think my macports archs might be f#$%ked up somewhere along the line.

I was a _early_ snow leopard adopter and a lot changed in the first  
few days...

-Adam

On 16/09/2009, at 2:35 PM, Bodaniel Jeanes wrote:

> Nice ... Good tip for me to remember!
>
> >> Config::CONFIG['CFLAGS']
> => "-arch i386 -arch x86_64 -g -Os -pipe -fno-common - 
> DENABLE_DTRACE  -fno-common  -pipe -fno-common  "
>
> Adam, is you see it is compiled as both you can force it to run as  
> one or the other by doing:
>
> $ arch -i386 irb
>
> or
>
> $ arch -x86_75 irb
>
> and see if that yields better results (`man arch` for more info)
>
> On Wed, Sep 16, 2009 at 2:30 PM, Ian Leitch  wrote:
> ~ $ irb
> irb(main):001:0> Config::CONFIG['CFLAGS']
> => "-O2 -arch x86_64  -fno-common -pipe -fno-common  "
> irb(main):002:0>
>
> 2009/9/16 Bodaniel Jeanes 
>
> nevermind, none of those return anything useful for me with regards  
> to the architecture. Someone who is more knowledgeable about these  
> things could probably find out using something like Array#pack and  
> the byte orders etc but this is way beyond my knowledge. If `file`  
> says it is 64-bit it's a good bet it is and perhaps you should be  
> force-compiling Hpricot as 64-bit instead...
>
>
> On Wed, Sep 16, 2009 at 2:12 PM, Bodaniel Jeanes   
> wrote:
> Sorry .. what about the following constants:
>
> >> Object.constants.grep /RUBY/
> => ["RUBY_DESCRIPTION", "RUBY_VERSION", "RUBY_COPYRIGHT",  
> "RUBY_FRAMEWORK", "RUBY_RELEASE_DATE", "RUBY_FRAMEWORK_VERSION",  
> "RUBY_PLATFORM", "RUBY_PATCHLEVEL"]
>
>
> On Wed, Sep 16, 2009 at 1:44 PM, Adam Salter  
>  wrote:
> So what version of ruby1.9 do I have? 'i386-darwin10' or 'x86_64'
>
> btw: ruby -e 'puts RUBY_VERSION'
> gives '1.9.1'
>
> -Adam
>
> On 16/09/2009, at 1:34 PM, Lincoln Stoll wrote:
>
>> That's because SL reports the kernel architecture as the platform  
>> type, not the userspace architecture. It's been a contentious  
>> issue.. But that's another story.
>>
>> Also, by default macports on 64 bit capable systems will build 64  
>> bit binaries. You can change this to build for 32/64 or 32 only by  
>> playing with the universal variant.
>>
>> Linc
>>
>> // Sent from my mobile phone.
>>
>> On 16/09/2009, at 3:38, Adam Salter  wrote:
>>
>>> I don't know what the hell is going on:
>>>
>>> [r...@omegatron ~]# ruby -v
>>> ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-darwin10]
>>> [r...@omegatron ~]# file `which ruby`
>>> /opt/local/bin/ruby: Mach-O 64-bit executable x86_64
>>>
>>> ruby is saying it's 32-bit, file is saying it's 64-bit
>>>
>>> -Adam
>>>
>>> On 15/09/2009, at 8:54 PM, Bodaniel Jeanes wrote:
>>>
 using stock ruby you definitely want to be doing that, he is  
 using macports ruby 1.9 which based on his `ruby -v` output is 32- 
 bit so he should in fact ensure that he is compiling the  
 extensions as 32-bit

 On Tue, Sep 15, 2009 at 8:21 PM, Pat Allan >>> > wrote:

 Not sure if it's relevant, but for Snow Leopard I installed  
 mysql, pg
 and do_sqlite3 gems configured for 64bit like so:
   sudo env ARCHFLAGS="-arch x86_64" gem install mysql

 --
 Pat

 On 15/09/2009, at 11:04 AM, Bodaniel Jeanes wrote:

 > I'm still running 187 but i have 191 installed (from source). I  
 just
 > tried installing it and I could use the gem fine. I installed  
 like
 > so, just to be sure:
 >
 > $ sudo env ARCHFLAGS="-arch i386" gem install hpricot
 >
 >
 > On Tue, Sep 15, 2009 at 6:20 PM, Adam Salter
 >  wrote:
 > Interesting point...
 > Are you running ruby 1.9.1/hpricot 64bit?
 >
 > -Adam
 >
 > On 15/09/2009, at 6:09 PM, Bodaniel Jeanes wrote:
 >
 >> One thing to consider is that the ruby 1.8.7 that comes with  
 10.6
 >> is 64-bit but your ruby 1.9 seems to be 32-bit. Possibly the gem
 >> install picked up on some incorrect env variables and  
 defaulted to
 >> building Hpricot for 64-bit?
 >>
 >> On Tue, Sep 15, 2009 at 5:43 PM, Adam Salter
 >>  wrote:
 >> Is anybody else seeing a seg

[rails-oceania] Re: Hpricot segfault OSX - ruby1.9.1

2009-09-15 Thread Bodaniel Jeanes
Nice ... Good tip for me to remember!
>> Config::CONFIG['CFLAGS']
=> "-arch i386 -arch x86_64 -g -Os -pipe -fno-common -DENABLE_DTRACE
 -fno-common  -pipe -fno-common  "

Adam, is you see it is compiled as both you can force it to run as one or
the other by doing:

$ arch -i386 irb

or

$ arch -x86_75 irb

and see if that yields better results (`man arch` for more info)

On Wed, Sep 16, 2009 at 2:30 PM, Ian Leitch  wrote:

> ~ $ irb
> irb(main):001:0> Config::CONFIG['CFLAGS']
> => "-O2 -arch x86_64  -fno-common -pipe -fno-common  "
> irb(main):002:0>
>
> 2009/9/16 Bodaniel Jeanes 
>
> nevermind, none of those return anything useful for me with regards to the
>> architecture. Someone who is more knowledgeable about these things could
>> probably find out using something like Array#pack and the byte orders etc
>> but this is way beyond my knowledge. If `file` says it is 64-bit it's a good
>> bet it is and perhaps you should be force-compiling Hpricot as 64-bit
>> instead...
>>
>>
>> On Wed, Sep 16, 2009 at 2:12 PM, Bodaniel Jeanes  wrote:
>>
>>> Sorry .. what about the following constants:
>>> >> Object.constants.grep /RUBY/
>>> => ["RUBY_DESCRIPTION", "RUBY_VERSION", "RUBY_COPYRIGHT",
>>> "RUBY_FRAMEWORK", "RUBY_RELEASE_DATE", "RUBY_FRAMEWORK_VERSION",
>>> "RUBY_PLATFORM", "RUBY_PATCHLEVEL"]
>>>
>>>
>>> On Wed, Sep 16, 2009 at 1:44 PM, Adam Salter wrote:
>>>
 So what version of ruby1.9 do I have? 'i386-darwin10' or 'x86_64'

 btw: ruby -e 'puts RUBY_VERSION'
 gives '1.9.1'

  -Adam

 On 16/09/2009, at 1:34 PM, Lincoln Stoll wrote:

 That's because SL reports the kernel architecture as the platform type,
 not the userspace architecture. It's been a contentious issue.. But that's
 another story.

 Also, by default macports on 64 bit capable systems will build 64 bit
 binaries. You can change this to build for 32/64 or 32 only by playing with
 the universal variant.

 Linc
 // Sent from my mobile phone.

 On 16/09/2009, at 3:38, Adam Salter  wrote:

 I don't know what the hell is going on:

 [r...@omegatron ~]# ruby -v
 ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-darwin10]
 [r...@omegatron ~]# file `which ruby`
 /opt/local/bin/ruby: Mach-O 64-bit executable x86_64

 ruby is saying it's 32-bit, file is saying it's 64-bit

 -Adam

 On 15/09/2009, at 8:54 PM, Bodaniel Jeanes wrote:

 using stock ruby you definitely want to be doing that, he is using
 macports ruby 1.9 which based on his `ruby -v` output is 32-bit so he 
 should
 in fact ensure that he is compiling the extensions as 32-bit

 On Tue, Sep 15, 2009 at 8:21 PM, Pat Allan < 
 p...@freelancing-gods.com> wrote:

>
> Not sure if it's relevant, but for Snow Leopard I installed mysql, pg
> and do_sqlite3 gems configured for 64bit like so:
>   sudo env ARCHFLAGS="-arch x86_64" gem install mysql
>
> --
> Pat
>
> On 15/09/2009, at 11:04 AM, Bodaniel Jeanes wrote:
>
> > I'm still running 187 but i have 191 installed (from source). I just
> > tried installing it and I could use the gem fine. I installed like
> > so, just to be sure:
> >
> > $ sudo env ARCHFLAGS="-arch i386" gem install hpricot
> >
> >
> > On Tue, Sep 15, 2009 at 6:20 PM, Adam Salter
> > < adam.q.sal...@gmail.com> wrote:
> > Interesting point...
> > Are you running ruby 1.9.1/hpricot 64bit?
> >
> > -Adam
> >
> > On 15/09/2009, at 6:09 PM, Bodaniel Jeanes wrote:
> >
> >> One thing to consider is that the ruby 1.8.7 that comes with 10.6
> >> is 64-bit but your ruby 1.9 seems to be 32-bit. Possibly the gem
> >> install picked up on some incorrect env variables and defaulted to
> >> building Hpricot for 64-bit?
> >>
> >> On Tue, Sep 15, 2009 at 5:43 PM, Adam Salter
> >> < adam.q.sal...@gmail.com> wrote:
> >> Is anybody else seeing a segfault on hpricot on OSX 10.6 and Ruby
> >> 1.9.1?
> >>
> >> I've installed ruby with MacPorts.
> >>
> >> Here's the error:
> >>
> >>> /opt/local/lib/ruby1.9/gems/1.9.1/gems/hpricot-0.8.1/lib/
> >>> fast_xs.bundle: [BUG] Segmentation fault
> >>> ruby 1.8.7 (2008-08-11 patchlevel 72) [universal-darwin10.0]
> >>>
> >>> Abort trap
> >>
> >> ruby -v:
> >> ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-darwin10]
> >>
> >> -Adam
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >
> >
> >
> >
> >
> > >
>
>
>
>











>>>
>>
>>
>>
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" group.
To post to this group, send email to rails-oceania@googlegroups.com
To unsubscribe from this group, send email

[rails-oceania] Re: Hpricot segfault OSX - ruby1.9.1

2009-09-15 Thread Ian Leitch
~ $ irb
irb(main):001:0> Config::CONFIG['CFLAGS']
=> "-O2 -arch x86_64  -fno-common -pipe -fno-common  "
irb(main):002:0>

2009/9/16 Bodaniel Jeanes 

> nevermind, none of those return anything useful for me with regards to the
> architecture. Someone who is more knowledgeable about these things could
> probably find out using something like Array#pack and the byte orders etc
> but this is way beyond my knowledge. If `file` says it is 64-bit it's a good
> bet it is and perhaps you should be force-compiling Hpricot as 64-bit
> instead...
>
>
> On Wed, Sep 16, 2009 at 2:12 PM, Bodaniel Jeanes  wrote:
>
>> Sorry .. what about the following constants:
>> >> Object.constants.grep /RUBY/
>> => ["RUBY_DESCRIPTION", "RUBY_VERSION", "RUBY_COPYRIGHT",
>> "RUBY_FRAMEWORK", "RUBY_RELEASE_DATE", "RUBY_FRAMEWORK_VERSION",
>> "RUBY_PLATFORM", "RUBY_PATCHLEVEL"]
>>
>>
>> On Wed, Sep 16, 2009 at 1:44 PM, Adam Salter wrote:
>>
>>> So what version of ruby1.9 do I have? 'i386-darwin10' or 'x86_64'
>>>
>>> btw: ruby -e 'puts RUBY_VERSION'
>>> gives '1.9.1'
>>>
>>>  -Adam
>>>
>>> On 16/09/2009, at 1:34 PM, Lincoln Stoll wrote:
>>>
>>> That's because SL reports the kernel architecture as the platform type,
>>> not the userspace architecture. It's been a contentious issue.. But that's
>>> another story.
>>>
>>> Also, by default macports on 64 bit capable systems will build 64 bit
>>> binaries. You can change this to build for 32/64 or 32 only by playing with
>>> the universal variant.
>>>
>>> Linc
>>> // Sent from my mobile phone.
>>>
>>> On 16/09/2009, at 3:38, Adam Salter  wrote:
>>>
>>> I don't know what the hell is going on:
>>>
>>> [r...@omegatron ~]# ruby -v
>>> ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-darwin10]
>>> [r...@omegatron ~]# file `which ruby`
>>> /opt/local/bin/ruby: Mach-O 64-bit executable x86_64
>>>
>>> ruby is saying it's 32-bit, file is saying it's 64-bit
>>>
>>> -Adam
>>>
>>> On 15/09/2009, at 8:54 PM, Bodaniel Jeanes wrote:
>>>
>>> using stock ruby you definitely want to be doing that, he is using
>>> macports ruby 1.9 which based on his `ruby -v` output is 32-bit so he should
>>> in fact ensure that he is compiling the extensions as 32-bit
>>>
>>> On Tue, Sep 15, 2009 at 8:21 PM, Pat Allan < 
>>> p...@freelancing-gods.com> wrote:
>>>

 Not sure if it's relevant, but for Snow Leopard I installed mysql, pg
 and do_sqlite3 gems configured for 64bit like so:
   sudo env ARCHFLAGS="-arch x86_64" gem install mysql

 --
 Pat

 On 15/09/2009, at 11:04 AM, Bodaniel Jeanes wrote:

 > I'm still running 187 but i have 191 installed (from source). I just
 > tried installing it and I could use the gem fine. I installed like
 > so, just to be sure:
 >
 > $ sudo env ARCHFLAGS="-arch i386" gem install hpricot
 >
 >
 > On Tue, Sep 15, 2009 at 6:20 PM, Adam Salter
 > < adam.q.sal...@gmail.com> wrote:
 > Interesting point...
 > Are you running ruby 1.9.1/hpricot 64bit?
 >
 > -Adam
 >
 > On 15/09/2009, at 6:09 PM, Bodaniel Jeanes wrote:
 >
 >> One thing to consider is that the ruby 1.8.7 that comes with 10.6
 >> is 64-bit but your ruby 1.9 seems to be 32-bit. Possibly the gem
 >> install picked up on some incorrect env variables and defaulted to
 >> building Hpricot for 64-bit?
 >>
 >> On Tue, Sep 15, 2009 at 5:43 PM, Adam Salter
 >> < adam.q.sal...@gmail.com> wrote:
 >> Is anybody else seeing a segfault on hpricot on OSX 10.6 and Ruby
 >> 1.9.1?
 >>
 >> I've installed ruby with MacPorts.
 >>
 >> Here's the error:
 >>
 >>> /opt/local/lib/ruby1.9/gems/1.9.1/gems/hpricot-0.8.1/lib/
 >>> fast_xs.bundle: [BUG] Segmentation fault
 >>> ruby 1.8.7 (2008-08-11 patchlevel 72) [universal-darwin10.0]
 >>>
 >>> Abort trap
 >>
 >> ruby -v:
 >> ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-darwin10]
 >>
 >> -Adam
 >>
 >>
 >>
 >>
 >>
 >>
 >>
 >
 >
 >
 >
 >
 > >




>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" group.
To post to this group, send email to rails-oceania@googlegroups.com
To unsubscribe from this group, send email to 
rails-oceania+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rails-oceania?hl=en
-~--~~~~--~~--~--~---



[rails-oceania] Re: Hpricot segfault OSX - ruby1.9.1

2009-09-15 Thread Bodaniel Jeanes
nevermind, none of those return anything useful for me with regards to the
architecture. Someone who is more knowledgeable about these things could
probably find out using something like Array#pack and the byte orders etc
but this is way beyond my knowledge. If `file` says it is 64-bit it's a good
bet it is and perhaps you should be force-compiling Hpricot as 64-bit
instead...

On Wed, Sep 16, 2009 at 2:12 PM, Bodaniel Jeanes  wrote:

> Sorry .. what about the following constants:
> >> Object.constants.grep /RUBY/
> => ["RUBY_DESCRIPTION", "RUBY_VERSION", "RUBY_COPYRIGHT", "RUBY_FRAMEWORK",
> "RUBY_RELEASE_DATE", "RUBY_FRAMEWORK_VERSION", "RUBY_PLATFORM",
> "RUBY_PATCHLEVEL"]
>
>
> On Wed, Sep 16, 2009 at 1:44 PM, Adam Salter wrote:
>
>> So what version of ruby1.9 do I have? 'i386-darwin10' or 'x86_64'
>>
>> btw: ruby -e 'puts RUBY_VERSION'
>> gives '1.9.1'
>>
>>  -Adam
>>
>> On 16/09/2009, at 1:34 PM, Lincoln Stoll wrote:
>>
>> That's because SL reports the kernel architecture as the platform type,
>> not the userspace architecture. It's been a contentious issue.. But that's
>> another story.
>>
>> Also, by default macports on 64 bit capable systems will build 64 bit
>> binaries. You can change this to build for 32/64 or 32 only by playing with
>> the universal variant.
>>
>> Linc
>> // Sent from my mobile phone.
>>
>> On 16/09/2009, at 3:38, Adam Salter  wrote:
>>
>> I don't know what the hell is going on:
>>
>> [r...@omegatron ~]# ruby -v
>> ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-darwin10]
>> [r...@omegatron ~]# file `which ruby`
>> /opt/local/bin/ruby: Mach-O 64-bit executable x86_64
>>
>> ruby is saying it's 32-bit, file is saying it's 64-bit
>>
>> -Adam
>>
>> On 15/09/2009, at 8:54 PM, Bodaniel Jeanes wrote:
>>
>> using stock ruby you definitely want to be doing that, he is using
>> macports ruby 1.9 which based on his `ruby -v` output is 32-bit so he should
>> in fact ensure that he is compiling the extensions as 32-bit
>>
>> On Tue, Sep 15, 2009 at 8:21 PM, Pat Allan < 
>> p...@freelancing-gods.com> wrote:
>>
>>>
>>> Not sure if it's relevant, but for Snow Leopard I installed mysql, pg
>>> and do_sqlite3 gems configured for 64bit like so:
>>>   sudo env ARCHFLAGS="-arch x86_64" gem install mysql
>>>
>>> --
>>> Pat
>>>
>>> On 15/09/2009, at 11:04 AM, Bodaniel Jeanes wrote:
>>>
>>> > I'm still running 187 but i have 191 installed (from source). I just
>>> > tried installing it and I could use the gem fine. I installed like
>>> > so, just to be sure:
>>> >
>>> > $ sudo env ARCHFLAGS="-arch i386" gem install hpricot
>>> >
>>> >
>>> > On Tue, Sep 15, 2009 at 6:20 PM, Adam Salter
>>> > < adam.q.sal...@gmail.com> wrote:
>>> > Interesting point...
>>> > Are you running ruby 1.9.1/hpricot 64bit?
>>> >
>>> > -Adam
>>> >
>>> > On 15/09/2009, at 6:09 PM, Bodaniel Jeanes wrote:
>>> >
>>> >> One thing to consider is that the ruby 1.8.7 that comes with 10.6
>>> >> is 64-bit but your ruby 1.9 seems to be 32-bit. Possibly the gem
>>> >> install picked up on some incorrect env variables and defaulted to
>>> >> building Hpricot for 64-bit?
>>> >>
>>> >> On Tue, Sep 15, 2009 at 5:43 PM, Adam Salter
>>> >> < adam.q.sal...@gmail.com> wrote:
>>> >> Is anybody else seeing a segfault on hpricot on OSX 10.6 and Ruby
>>> >> 1.9.1?
>>> >>
>>> >> I've installed ruby with MacPorts.
>>> >>
>>> >> Here's the error:
>>> >>
>>> >>> /opt/local/lib/ruby1.9/gems/1.9.1/gems/hpricot-0.8.1/lib/
>>> >>> fast_xs.bundle: [BUG] Segmentation fault
>>> >>> ruby 1.8.7 (2008-08-11 patchlevel 72) [universal-darwin10.0]
>>> >>>
>>> >>> Abort trap
>>> >>
>>> >> ruby -v:
>>> >> ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-darwin10]
>>> >>
>>> >> -Adam
>>> >>
>>> >>
>>> >>
>>> >>
>>> >>
>>> >>
>>> >>
>>> >
>>> >
>>> >
>>> >
>>> >
>>> > >
>>>
>>>
>>>
>>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> >>
>>
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" group.
To post to this group, send email to rails-oceania@googlegroups.com
To unsubscribe from this group, send email to 
rails-oceania+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rails-oceania?hl=en
-~--~~~~--~~--~--~---



[rails-oceania] Re: Hpricot segfault OSX - ruby1.9.1

2009-09-15 Thread Bodaniel Jeanes
Sorry .. what about the following constants:
>> Object.constants.grep /RUBY/
=> ["RUBY_DESCRIPTION", "RUBY_VERSION", "RUBY_COPYRIGHT", "RUBY_FRAMEWORK",
"RUBY_RELEASE_DATE", "RUBY_FRAMEWORK_VERSION", "RUBY_PLATFORM",
"RUBY_PATCHLEVEL"]


On Wed, Sep 16, 2009 at 1:44 PM, Adam Salter wrote:

> So what version of ruby1.9 do I have? 'i386-darwin10' or 'x86_64'
>
> btw: ruby -e 'puts RUBY_VERSION'
> gives '1.9.1'
>
>  -Adam
>
> On 16/09/2009, at 1:34 PM, Lincoln Stoll wrote:
>
> That's because SL reports the kernel architecture as the platform type, not
> the userspace architecture. It's been a contentious issue.. But that's
> another story.
>
> Also, by default macports on 64 bit capable systems will build 64 bit
> binaries. You can change this to build for 32/64 or 32 only by playing with
> the universal variant.
>
> Linc
> // Sent from my mobile phone.
>
> On 16/09/2009, at 3:38, Adam Salter  wrote:
>
> I don't know what the hell is going on:
>
> [r...@omegatron ~]# ruby -v
> ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-darwin10]
> [r...@omegatron ~]# file `which ruby`
> /opt/local/bin/ruby: Mach-O 64-bit executable x86_64
>
> ruby is saying it's 32-bit, file is saying it's 64-bit
>
> -Adam
>
> On 15/09/2009, at 8:54 PM, Bodaniel Jeanes wrote:
>
> using stock ruby you definitely want to be doing that, he is using macports
> ruby 1.9 which based on his `ruby -v` output is 32-bit so he should in fact
> ensure that he is compiling the extensions as 32-bit
>
> On Tue, Sep 15, 2009 at 8:21 PM, Pat Allan < 
> p...@freelancing-gods.com> wrote:
>
>>
>> Not sure if it's relevant, but for Snow Leopard I installed mysql, pg
>> and do_sqlite3 gems configured for 64bit like so:
>>   sudo env ARCHFLAGS="-arch x86_64" gem install mysql
>>
>> --
>> Pat
>>
>> On 15/09/2009, at 11:04 AM, Bodaniel Jeanes wrote:
>>
>> > I'm still running 187 but i have 191 installed (from source). I just
>> > tried installing it and I could use the gem fine. I installed like
>> > so, just to be sure:
>> >
>> > $ sudo env ARCHFLAGS="-arch i386" gem install hpricot
>> >
>> >
>> > On Tue, Sep 15, 2009 at 6:20 PM, Adam Salter
>> > < adam.q.sal...@gmail.com> wrote:
>> > Interesting point...
>> > Are you running ruby 1.9.1/hpricot 64bit?
>> >
>> > -Adam
>> >
>> > On 15/09/2009, at 6:09 PM, Bodaniel Jeanes wrote:
>> >
>> >> One thing to consider is that the ruby 1.8.7 that comes with 10.6
>> >> is 64-bit but your ruby 1.9 seems to be 32-bit. Possibly the gem
>> >> install picked up on some incorrect env variables and defaulted to
>> >> building Hpricot for 64-bit?
>> >>
>> >> On Tue, Sep 15, 2009 at 5:43 PM, Adam Salter
>> >> < adam.q.sal...@gmail.com> wrote:
>> >> Is anybody else seeing a segfault on hpricot on OSX 10.6 and Ruby
>> >> 1.9.1?
>> >>
>> >> I've installed ruby with MacPorts.
>> >>
>> >> Here's the error:
>> >>
>> >>> /opt/local/lib/ruby1.9/gems/1.9.1/gems/hpricot-0.8.1/lib/
>> >>> fast_xs.bundle: [BUG] Segmentation fault
>> >>> ruby 1.8.7 (2008-08-11 patchlevel 72) [universal-darwin10.0]
>> >>>
>> >>> Abort trap
>> >>
>> >> ruby -v:
>> >> ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-darwin10]
>> >>
>> >> -Adam
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >
>> >
>> >
>> >
>> >
>> > >
>>
>>
>>
>>
>
>
>
>
>
>
>
>
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" group.
To post to this group, send email to rails-oceania@googlegroups.com
To unsubscribe from this group, send email to 
rails-oceania+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rails-oceania?hl=en
-~--~~~~--~~--~--~---



[rails-oceania] Re: Hpricot segfault OSX - ruby1.9.1

2009-09-15 Thread Adam Salter
So what version of ruby1.9 do I have? 'i386-darwin10' or 'x86_64'

btw: ruby -e 'puts RUBY_VERSION'
gives '1.9.1'

-Adam

On 16/09/2009, at 1:34 PM, Lincoln Stoll wrote:

> That's because SL reports the kernel architecture as the platform  
> type, not the userspace architecture. It's been a contentious  
> issue.. But that's another story.
>
> Also, by default macports on 64 bit capable systems will build 64  
> bit binaries. You can change this to build for 32/64 or 32 only by  
> playing with the universal variant.
>
> Linc
>
> // Sent from my mobile phone.
>
> On 16/09/2009, at 3:38, Adam Salter  wrote:
>
>> I don't know what the hell is going on:
>>
>> [r...@omegatron ~]# ruby -v
>> ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-darwin10]
>> [r...@omegatron ~]# file `which ruby`
>> /opt/local/bin/ruby: Mach-O 64-bit executable x86_64
>>
>> ruby is saying it's 32-bit, file is saying it's 64-bit
>>
>> -Adam
>>
>> On 15/09/2009, at 8:54 PM, Bodaniel Jeanes wrote:
>>
>>> using stock ruby you definitely want to be doing that, he is using  
>>> macports ruby 1.9 which based on his `ruby -v` output is 32-bit so  
>>> he should in fact ensure that he is compiling the extensions as 32- 
>>> bit
>>>
>>> On Tue, Sep 15, 2009 at 8:21 PM, Pat Allan >> gods.com> wrote:
>>>
>>> Not sure if it's relevant, but for Snow Leopard I installed mysql,  
>>> pg
>>> and do_sqlite3 gems configured for 64bit like so:
>>>   sudo env ARCHFLAGS="-arch x86_64" gem install mysql
>>>
>>> --
>>> Pat
>>>
>>> On 15/09/2009, at 11:04 AM, Bodaniel Jeanes wrote:
>>>
>>> > I'm still running 187 but i have 191 installed (from source). I  
>>> just
>>> > tried installing it and I could use the gem fine. I installed like
>>> > so, just to be sure:
>>> >
>>> > $ sudo env ARCHFLAGS="-arch i386" gem install hpricot
>>> >
>>> >
>>> > On Tue, Sep 15, 2009 at 6:20 PM, Adam Salter
>>> >  wrote:
>>> > Interesting point...
>>> > Are you running ruby 1.9.1/hpricot 64bit?
>>> >
>>> > -Adam
>>> >
>>> > On 15/09/2009, at 6:09 PM, Bodaniel Jeanes wrote:
>>> >
>>> >> One thing to consider is that the ruby 1.8.7 that comes with 10.6
>>> >> is 64-bit but your ruby 1.9 seems to be 32-bit. Possibly the gem
>>> >> install picked up on some incorrect env variables and defaulted  
>>> to
>>> >> building Hpricot for 64-bit?
>>> >>
>>> >> On Tue, Sep 15, 2009 at 5:43 PM, Adam Salter
>>> >>  wrote:
>>> >> Is anybody else seeing a segfault on hpricot on OSX 10.6 and Ruby
>>> >> 1.9.1?
>>> >>
>>> >> I've installed ruby with MacPorts.
>>> >>
>>> >> Here's the error:
>>> >>
>>> >>> /opt/local/lib/ruby1.9/gems/1.9.1/gems/hpricot-0.8.1/lib/
>>> >>> fast_xs.bundle: [BUG] Segmentation fault
>>> >>> ruby 1.8.7 (2008-08-11 patchlevel 72) [universal-darwin10.0]
>>> >>>
>>> >>> Abort trap
>>> >>
>>> >> ruby -v:
>>> >> ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-darwin10]
>>> >>
>>> >> -Adam
>>> >>
>>> >>
>>> >>
>>> >>
>>> >>
>>> >>
>>> >>
>>> >
>>> >
>>> >
>>> >
>>> >
>>> > >
>>>
>>>
>>>
>>>
>>>
>>>
>>
>>
>>
>
> >


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" group.
To post to this group, send email to rails-oceania@googlegroups.com
To unsubscribe from this group, send email to 
rails-oceania+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rails-oceania?hl=en
-~--~~~~--~~--~--~---



[rails-oceania] Re: Hpricot segfault OSX - ruby1.9.1

2009-09-15 Thread Lincoln Stoll
That's because SL reports the kernel architecture as the platform  
type, not the userspace architecture. It's been a contentious issue..  
But that's another story.

Also, by default macports on 64 bit capable systems will build 64 bit  
binaries. You can change this to build for 32/64 or 32 only by playing  
with the universal variant.

Linc

// Sent from my mobile phone.

On 16/09/2009, at 3:38, Adam Salter  wrote:

> I don't know what the hell is going on:
>
> [r...@omegatron ~]# ruby -v
> ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-darwin10]
> [r...@omegatron ~]# file `which ruby`
> /opt/local/bin/ruby: Mach-O 64-bit executable x86_64
>
> ruby is saying it's 32-bit, file is saying it's 64-bit
>
> -Adam
>
> On 15/09/2009, at 8:54 PM, Bodaniel Jeanes wrote:
>
>> using stock ruby you definitely want to be doing that, he is using  
>> macports ruby 1.9 which based on his `ruby -v` output is 32-bit so  
>> he should in fact ensure that he is compiling the extensions as 32- 
>> bit
>>
>> On Tue, Sep 15, 2009 at 8:21 PM, Pat Allan > gods.com> wrote:
>>
>> Not sure if it's relevant, but for Snow Leopard I installed mysql, pg
>> and do_sqlite3 gems configured for 64bit like so:
>>   sudo env ARCHFLAGS="-arch x86_64" gem install mysql
>>
>> --
>> Pat
>>
>> On 15/09/2009, at 11:04 AM, Bodaniel Jeanes wrote:
>>
>> > I'm still running 187 but i have 191 installed (from source). I  
>> just
>> > tried installing it and I could use the gem fine. I installed like
>> > so, just to be sure:
>> >
>> > $ sudo env ARCHFLAGS="-arch i386" gem install hpricot
>> >
>> >
>> > On Tue, Sep 15, 2009 at 6:20 PM, Adam Salter
>> >  wrote:
>> > Interesting point...
>> > Are you running ruby 1.9.1/hpricot 64bit?
>> >
>> > -Adam
>> >
>> > On 15/09/2009, at 6:09 PM, Bodaniel Jeanes wrote:
>> >
>> >> One thing to consider is that the ruby 1.8.7 that comes with 10.6
>> >> is 64-bit but your ruby 1.9 seems to be 32-bit. Possibly the gem
>> >> install picked up on some incorrect env variables and defaulted to
>> >> building Hpricot for 64-bit?
>> >>
>> >> On Tue, Sep 15, 2009 at 5:43 PM, Adam Salter
>> >>  wrote:
>> >> Is anybody else seeing a segfault on hpricot on OSX 10.6 and Ruby
>> >> 1.9.1?
>> >>
>> >> I've installed ruby with MacPorts.
>> >>
>> >> Here's the error:
>> >>
>> >>> /opt/local/lib/ruby1.9/gems/1.9.1/gems/hpricot-0.8.1/lib/
>> >>> fast_xs.bundle: [BUG] Segmentation fault
>> >>> ruby 1.8.7 (2008-08-11 patchlevel 72) [universal-darwin10.0]
>> >>>
>> >>> Abort trap
>> >>
>> >> ruby -v:
>> >> ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-darwin10]
>> >>
>> >> -Adam
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >
>> >
>> >
>> >
>> >
>> > >
>>
>>
>>
>>
>>
>>
>
>
> >

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" group.
To post to this group, send email to rails-oceania@googlegroups.com
To unsubscribe from this group, send email to 
rails-oceania+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rails-oceania?hl=en
-~--~~~~--~~--~--~---



[rails-oceania] Re: Hpricot segfault OSX - ruby1.9.1

2009-09-15 Thread Bodaniel Jeanes
That is quite odd. what does ruby -e 'puts RUBY_VERSION' say?

On Wed, Sep 16, 2009 at 12:38 PM, Adam Salter wrote:

> I don't know what the hell is going on:
>
> [r...@omegatron ~]# ruby -v
> ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-darwin10]
> [r...@omegatron ~]# file `which ruby`
> /opt/local/bin/ruby: Mach-O 64-bit executable x86_64
>
> ruby is saying it's 32-bit, file is saying it's 64-bit
>
> -Adam
>
> On 15/09/2009, at 8:54 PM, Bodaniel Jeanes wrote:
>
> using stock ruby you definitely want to be doing that, he is using macports
> ruby 1.9 which based on his `ruby -v` output is 32-bit so he should in fact
> ensure that he is compiling the extensions as 32-bit
>
> On Tue, Sep 15, 2009 at 8:21 PM, Pat Allan wrote:
>
>>
>> Not sure if it's relevant, but for Snow Leopard I installed mysql, pg
>> and do_sqlite3 gems configured for 64bit like so:
>>   sudo env ARCHFLAGS="-arch x86_64" gem install mysql
>>
>> --
>> Pat
>>
>> On 15/09/2009, at 11:04 AM, Bodaniel Jeanes wrote:
>>
>> > I'm still running 187 but i have 191 installed (from source). I just
>> > tried installing it and I could use the gem fine. I installed like
>> > so, just to be sure:
>> >
>> > $ sudo env ARCHFLAGS="-arch i386" gem install hpricot
>> >
>> >
>> > On Tue, Sep 15, 2009 at 6:20 PM, Adam Salter
>> >  wrote:
>> > Interesting point...
>> > Are you running ruby 1.9.1/hpricot 64bit?
>> >
>> > -Adam
>> >
>> > On 15/09/2009, at 6:09 PM, Bodaniel Jeanes wrote:
>> >
>> >> One thing to consider is that the ruby 1.8.7 that comes with 10.6
>> >> is 64-bit but your ruby 1.9 seems to be 32-bit. Possibly the gem
>> >> install picked up on some incorrect env variables and defaulted to
>> >> building Hpricot for 64-bit?
>> >>
>> >> On Tue, Sep 15, 2009 at 5:43 PM, Adam Salter
>> >>  wrote:
>> >> Is anybody else seeing a segfault on hpricot on OSX 10.6 and Ruby
>> >> 1.9.1?
>> >>
>> >> I've installed ruby with MacPorts.
>> >>
>> >> Here's the error:
>> >>
>> >>> /opt/local/lib/ruby1.9/gems/1.9.1/gems/hpricot-0.8.1/lib/
>> >>> fast_xs.bundle: [BUG] Segmentation fault
>> >>> ruby 1.8.7 (2008-08-11 patchlevel 72) [universal-darwin10.0]
>> >>>
>> >>> Abort trap
>> >>
>> >> ruby -v:
>> >> ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-darwin10]
>> >>
>> >> -Adam
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >
>> >
>> >
>> >
>> >
>> > >
>>
>>
>>
>>
>
>
>
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" group.
To post to this group, send email to rails-oceania@googlegroups.com
To unsubscribe from this group, send email to 
rails-oceania+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rails-oceania?hl=en
-~--~~~~--~~--~--~---



[rails-oceania] Re: Hpricot segfault OSX - ruby1.9.1

2009-09-15 Thread Adam Salter
I don't know what the hell is going on:

[r...@omegatron ~]# ruby -v
ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-darwin10]
[r...@omegatron ~]# file `which ruby`
/opt/local/bin/ruby: Mach-O 64-bit executable x86_64

ruby is saying it's 32-bit, file is saying it's 64-bit

-Adam

On 15/09/2009, at 8:54 PM, Bodaniel Jeanes wrote:

> using stock ruby you definitely want to be doing that, he is using  
> macports ruby 1.9 which based on his `ruby -v` output is 32-bit so  
> he should in fact ensure that he is compiling the extensions as 32-bit
>
> On Tue, Sep 15, 2009 at 8:21 PM, Pat Allan  gods.com> wrote:
>
> Not sure if it's relevant, but for Snow Leopard I installed mysql, pg
> and do_sqlite3 gems configured for 64bit like so:
>   sudo env ARCHFLAGS="-arch x86_64" gem install mysql
>
> --
> Pat
>
> On 15/09/2009, at 11:04 AM, Bodaniel Jeanes wrote:
>
> > I'm still running 187 but i have 191 installed (from source). I just
> > tried installing it and I could use the gem fine. I installed like
> > so, just to be sure:
> >
> > $ sudo env ARCHFLAGS="-arch i386" gem install hpricot
> >
> >
> > On Tue, Sep 15, 2009 at 6:20 PM, Adam Salter
> >  wrote:
> > Interesting point...
> > Are you running ruby 1.9.1/hpricot 64bit?
> >
> > -Adam
> >
> > On 15/09/2009, at 6:09 PM, Bodaniel Jeanes wrote:
> >
> >> One thing to consider is that the ruby 1.8.7 that comes with 10.6
> >> is 64-bit but your ruby 1.9 seems to be 32-bit. Possibly the gem
> >> install picked up on some incorrect env variables and defaulted to
> >> building Hpricot for 64-bit?
> >>
> >> On Tue, Sep 15, 2009 at 5:43 PM, Adam Salter
> >>  wrote:
> >> Is anybody else seeing a segfault on hpricot on OSX 10.6 and Ruby
> >> 1.9.1?
> >>
> >> I've installed ruby with MacPorts.
> >>
> >> Here's the error:
> >>
> >>> /opt/local/lib/ruby1.9/gems/1.9.1/gems/hpricot-0.8.1/lib/
> >>> fast_xs.bundle: [BUG] Segmentation fault
> >>> ruby 1.8.7 (2008-08-11 patchlevel 72) [universal-darwin10.0]
> >>>
> >>> Abort trap
> >>
> >> ruby -v:
> >> ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-darwin10]
> >>
> >> -Adam
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >
> >
> >
> >
> >
> > >
>
>
>
>
>
> >


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" group.
To post to this group, send email to rails-oceania@googlegroups.com
To unsubscribe from this group, send email to 
rails-oceania+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rails-oceania?hl=en
-~--~~~~--~~--~--~---



[rails-oceania] Re: Hpricot segfault OSX - ruby1.9.1

2009-09-15 Thread Adam Salter

'maintained'  yep. Try finding somebody who wants to take  
ownership for hpricot... I couldn't.

Unfortunately the bug is in 'rails myapp -d mysql'... Can't quite be  
bothered to make the change to nokogiri... ;)

I'll look at my compilation re:64-bit I'm pretty sure I've seen stuff  
about changing all MacPorts compiles to 64-bit by default.

-Adam

On 15/09/2009, at 6:40 PM, Richard Heycock wrote:

>
> Excerpts from Adam Salter's message of Tue Sep 15 17:43:20 +1000 2009:
>> Is anybody else seeing a segfault on hpricot on OSX 10.6 and Ruby  
>> 1.9.1?
>>
>> I've installed ruby with MacPorts.
>>
>> Here's the error:
>>
>>> /opt/local/lib/ruby1.9/gems/1.9.1/gems/hpricot-0.8.1/lib/
>>> fast_xs.bundle: [BUG] Segmentation fault
>>> ruby 1.8.7 (2008-08-11 patchlevel 72) [universal-darwin10.0]
>>>
>>> Abort trap
>>
>> ruby -v:
>> ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-darwin10]
>>
>> -Adam
>
> I know this may not be that helpful but have you considered using
> nokogiri. Porting from hpricot is pretty straightforward and  
> nokogiri is
> faster, oh, and maintained.
>
> rgh
>
> >


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" group.
To post to this group, send email to rails-oceania@googlegroups.com
To unsubscribe from this group, send email to 
rails-oceania+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rails-oceania?hl=en
-~--~~~~--~~--~--~---



[rails-oceania] Re: Average salary for Rails developer down under?

2009-09-15 Thread Korny Sietsma

You've got to have a few bottles of wine as well - in memory of Keith Floyd...

- Korny

On Wed, Sep 16, 2009 at 11:37 AM, Josh Bassett  wrote:
> The holy grail would be working for a well-paying Rails shop with an
> in-office beer keg and custom tap.
>
> Mmm, beer.
>
>
> >
>



-- 
Kornelis Sietsma  korny at my surname dot com
kornys on twitter/fb/gtalk - korny on wave sandbox
"Every jumbled pile of person has a thinking part
that wonders what the part that isn't thinking
isn't thinking of"

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" group.
To post to this group, send email to rails-oceania@googlegroups.com
To unsubscribe from this group, send email to 
rails-oceania+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rails-oceania?hl=en
-~--~~~~--~~--~--~---



[rails-oceania] Re: Average salary for Rails developer down under?

2009-09-15 Thread Richard Heycock

Excerpts from Glen Maddern's message of Tue Sep 15 15:20:39 +1000 2009:
> 
> Must everything come down to a drinking contest?

Sorry, what's your point?

rgh

> -glen.
> 
> p.s. yes.
> 
> On Tue, Sep 15, 2009 at 3:13 PM, Matt Allen  wrote:
> > On Tue, Sep 15, 2009 at 1:47 PM, Lachie  wrote:
> >>
> >> On Tue, Sep 15, 2009 at 1:29 PM, Matthew Winter 
> >> wrote:
> >> >
> >>
> >> If you come along to any of the ruby meetups in any of the cities,
> >> you'll soon discover that although the "man on the street" might vary
> >> in affect from town to town, the rubyists don't.
> >>
> >
> > That said, let's lay it out straight:
> > Brisbane - Ruby group meets in a library.
> > Melbourne - Ruby group meets in an office.
> > Sydney - Ruby group meets in a pub.
> > So if it's drinking you're after, you know where to go!
> > Matta
> > PS ... just joking guys, I know that those Melbourne guys would drink us
> > Sydney guys under the table each time!!
> > >
> >
> 

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" group.
To post to this group, send email to rails-oceania@googlegroups.com
To unsubscribe from this group, send email to 
rails-oceania+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rails-oceania?hl=en
-~--~~~~--~~--~--~---



[rails-oceania] Re: Advice and vendors in Aus on getting team BDD/TDD, Agile and (possibly) Rails training

2009-09-15 Thread Tomas Varsavsky

If you're serious about getting help. there are companies out there
that offer formal training as well as on site coaching of development
practices and agile in general. The first one is usually class room
style training. The latter one is usually one or two consultants that
pair with your developers over a period of time to help them get up to
speed with hands on help.

I work for a company that does this kind of work, ThoughtWorks.
I can get you in touch with people that can discuss this with you if
you want.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" group.
To post to this group, send email to rails-oceania@googlegroups.com
To unsubscribe from this group, send email to 
rails-oceania+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rails-oceania?hl=en
-~--~~~~--~~--~--~---



[rails-oceania] Re: Advice and vendors in Aus on getting team BDD/TDD, Agile and (possibly) Rails training

2009-09-15 Thread Andrew Grimm

I really liked "Everyday Scripting with Ruby", possibly because the
examples didn't feel toy-like (the examples weren't games, and they
weren't reinventing the wheel)

According to http://forums.pragprog.com/forums/130/topics/3095 ,
there's some TDD in "Metaprogramming Ruby", but I haven't read the
book myself (has anyone else read it?)

Andrew

On Tue, Sep 15, 2009 at 9:04 PM, bnsweb  wrote:
>
> I'm a freelancer in the process of teaching myself Rails and Agile.  I
> can totally recommend The RSpec Book, it's still in a beta writeup but
> it gives excellent examples and insight into Agile development.
>
> On Sep 15, 5:17 pm, Sonia Hamilton  wrote:
>> There's a book put out by Pragmatic Programmers called "Everyday
>> Scripting with Ruby" [1] which I'd recommend.
>>
>> The title's a bit misleading, it should really be called something like
>> "Learn Ruby and Test Driven Development". Maybe it's a bit basic for
>> experienced programmers, but it does have exercises, which are always
>> handy for learning a new language.
>>
>> The books uses Test::Unit, there's also a book about RSpec and Cucumber
>> [2] which I haven't had time to look at yet.
>>
>> [1]http://pragprog.com/titles/bmsft/everyday-scripting-with-ruby
>> [2]http://pragprog.com/titles/achbd/the-rspec-book
>>
>> Sonia Hamilton.
>>
>> Daryl Manning wrote:
>> > I've recently relocated to Sydney and with our dev team we've decided
>> > to make the move over to some much more agile delivery practices (and
>> > possibly moving over to Rails dev from our current php and some java
>> > code base). I've got Agile covered if we need that, but in particular
>> > really need the team getting used to developing in a BDD/TDD frame of
>> > mind (think Cuke and RSpec). Our most likely framework to move to
>> > currently is Rails (vs. Django or say, CakePHP or CodeIgniter).
>>
>> > It's a big move and the team needs training and practice (and possibly
>> > some mentoring) someone suggested I post to RORO (and I promise to
>> > show up to the Trinity pub on the 8th Oct) on possible vendors or
>> > ideas for getting them spooled up for what is going to be a very big
>> > move.
>>
>> > Any advice, vendor recommendations or ideas would be greatly
>> > appreciated (be gently, I just got here... =] ).
>>
>> > thanks !
>> > Daryl.
>>
>>
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" group.
To post to this group, send email to rails-oceania@googlegroups.com
To unsubscribe from this group, send email to 
rails-oceania+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rails-oceania?hl=en
-~--~~~~--~~--~--~---



[rails-oceania] Re: Advice and vendors in Aus on getting team BDD/TDD, Agile and (possibly) Rails training

2009-09-15 Thread bnsweb

I'm a freelancer in the process of teaching myself Rails and Agile.  I
can totally recommend The RSpec Book, it's still in a beta writeup but
it gives excellent examples and insight into Agile development.

On Sep 15, 5:17 pm, Sonia Hamilton  wrote:
> There's a book put out by Pragmatic Programmers called "Everyday
> Scripting with Ruby" [1] which I'd recommend.
>
> The title's a bit misleading, it should really be called something like
> "Learn Ruby and Test Driven Development". Maybe it's a bit basic for
> experienced programmers, but it does have exercises, which are always
> handy for learning a new language.
>
> The books uses Test::Unit, there's also a book about RSpec and Cucumber
> [2] which I haven't had time to look at yet.
>
> [1]http://pragprog.com/titles/bmsft/everyday-scripting-with-ruby
> [2]http://pragprog.com/titles/achbd/the-rspec-book
>
> Sonia Hamilton.
>
> Daryl Manning wrote:
> > I've recently relocated to Sydney and with our dev team we've decided  
> > to make the move over to some much more agile delivery practices (and  
> > possibly moving over to Rails dev from our current php and some java  
> > code base). I've got Agile covered if we need that, but in particular  
> > really need the team getting used to developing in a BDD/TDD frame of  
> > mind (think Cuke and RSpec). Our most likely framework to move to  
> > currently is Rails (vs. Django or say, CakePHP or CodeIgniter).
>
> > It's a big move and the team needs training and practice (and possibly  
> > some mentoring) someone suggested I post to RORO (and I promise to  
> > show up to the Trinity pub on the 8th Oct) on possible vendors or  
> > ideas for getting them spooled up for what is going to be a very big  
> > move.
>
> > Any advice, vendor recommendations or ideas would be greatly  
> > appreciated (be gently, I just got here... =] ).
>
> > thanks !
> > Daryl.
>
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" group.
To post to this group, send email to rails-oceania@googlegroups.com
To unsubscribe from this group, send email to 
rails-oceania+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rails-oceania?hl=en
-~--~~~~--~~--~--~---



[rails-oceania] Re: Hpricot segfault OSX - ruby1.9.1

2009-09-15 Thread Richard Heycock

Excerpts from Adam Salter's message of Tue Sep 15 17:43:20 +1000 2009:
> Is anybody else seeing a segfault on hpricot on OSX 10.6 and Ruby 1.9.1?
> 
> I've installed ruby with MacPorts.
> 
> Here's the error:
> 
> > /opt/local/lib/ruby1.9/gems/1.9.1/gems/hpricot-0.8.1/lib/ 
> > fast_xs.bundle: [BUG] Segmentation fault
> > ruby 1.8.7 (2008-08-11 patchlevel 72) [universal-darwin10.0]
> >
> > Abort trap
> 
> ruby -v:
> ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-darwin10]
> 
> -Adam

I know this may not be that helpful but have you considered using
nokogiri. Porting from hpricot is pretty straightforward and nokogiri is
faster, oh, and maintained.

rgh

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" group.
To post to this group, send email to rails-oceania@googlegroups.com
To unsubscribe from this group, send email to 
rails-oceania+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rails-oceania?hl=en
-~--~~~~--~~--~--~---



[rails-oceania] Re: Hpricot segfault OSX - ruby1.9.1

2009-09-15 Thread Bodaniel Jeanes
using stock ruby you definitely want to be doing that, he is using macports
ruby 1.9 which based on his `ruby -v` output is 32-bit so he should in fact
ensure that he is compiling the extensions as 32-bit

On Tue, Sep 15, 2009 at 8:21 PM, Pat Allan  wrote:

>
> Not sure if it's relevant, but for Snow Leopard I installed mysql, pg
> and do_sqlite3 gems configured for 64bit like so:
>   sudo env ARCHFLAGS="-arch x86_64" gem install mysql
>
> --
> Pat
>
> On 15/09/2009, at 11:04 AM, Bodaniel Jeanes wrote:
>
> > I'm still running 187 but i have 191 installed (from source). I just
> > tried installing it and I could use the gem fine. I installed like
> > so, just to be sure:
> >
> > $ sudo env ARCHFLAGS="-arch i386" gem install hpricot
> >
> >
> > On Tue, Sep 15, 2009 at 6:20 PM, Adam Salter
> >  wrote:
> > Interesting point...
> > Are you running ruby 1.9.1/hpricot 64bit?
> >
> > -Adam
> >
> > On 15/09/2009, at 6:09 PM, Bodaniel Jeanes wrote:
> >
> >> One thing to consider is that the ruby 1.8.7 that comes with 10.6
> >> is 64-bit but your ruby 1.9 seems to be 32-bit. Possibly the gem
> >> install picked up on some incorrect env variables and defaulted to
> >> building Hpricot for 64-bit?
> >>
> >> On Tue, Sep 15, 2009 at 5:43 PM, Adam Salter
> >>  wrote:
> >> Is anybody else seeing a segfault on hpricot on OSX 10.6 and Ruby
> >> 1.9.1?
> >>
> >> I've installed ruby with MacPorts.
> >>
> >> Here's the error:
> >>
> >>> /opt/local/lib/ruby1.9/gems/1.9.1/gems/hpricot-0.8.1/lib/
> >>> fast_xs.bundle: [BUG] Segmentation fault
> >>> ruby 1.8.7 (2008-08-11 patchlevel 72) [universal-darwin10.0]
> >>>
> >>> Abort trap
> >>
> >> ruby -v:
> >> ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-darwin10]
> >>
> >> -Adam
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >
> >
> >
> >
> >
> > >
>
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" group.
To post to this group, send email to rails-oceania@googlegroups.com
To unsubscribe from this group, send email to 
rails-oceania+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rails-oceania?hl=en
-~--~~~~--~~--~--~---



[rails-oceania] Re: Hpricot segfault OSX - ruby1.9.1

2009-09-15 Thread Pat Allan

Not sure if it's relevant, but for Snow Leopard I installed mysql, pg  
and do_sqlite3 gems configured for 64bit like so:
   sudo env ARCHFLAGS="-arch x86_64" gem install mysql

-- 
Pat

On 15/09/2009, at 11:04 AM, Bodaniel Jeanes wrote:

> I'm still running 187 but i have 191 installed (from source). I just  
> tried installing it and I could use the gem fine. I installed like  
> so, just to be sure:
>
> $ sudo env ARCHFLAGS="-arch i386" gem install hpricot
>
>
> On Tue, Sep 15, 2009 at 6:20 PM, Adam Salter  
>  wrote:
> Interesting point...
> Are you running ruby 1.9.1/hpricot 64bit?
>
> -Adam
>
> On 15/09/2009, at 6:09 PM, Bodaniel Jeanes wrote:
>
>> One thing to consider is that the ruby 1.8.7 that comes with 10.6  
>> is 64-bit but your ruby 1.9 seems to be 32-bit. Possibly the gem  
>> install picked up on some incorrect env variables and defaulted to  
>> building Hpricot for 64-bit?
>>
>> On Tue, Sep 15, 2009 at 5:43 PM, Adam Salter  
>>  wrote:
>> Is anybody else seeing a segfault on hpricot on OSX 10.6 and Ruby  
>> 1.9.1?
>>
>> I've installed ruby with MacPorts.
>>
>> Here's the error:
>>
>>> /opt/local/lib/ruby1.9/gems/1.9.1/gems/hpricot-0.8.1/lib/ 
>>> fast_xs.bundle: [BUG] Segmentation fault
>>> ruby 1.8.7 (2008-08-11 patchlevel 72) [universal-darwin10.0]
>>>
>>> Abort trap
>>
>> ruby -v:
>> ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-darwin10]
>>
>> -Adam
>>
>>
>>
>>
>>
>>
>>
>
>
>
>
>
> >


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" group.
To post to this group, send email to rails-oceania@googlegroups.com
To unsubscribe from this group, send email to 
rails-oceania+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rails-oceania?hl=en
-~--~~~~--~~--~--~---



[rails-oceania] Re: Hpricot segfault OSX - ruby1.9.1

2009-09-15 Thread Bodaniel Jeanes
I'm still running 187 but i have 191 installed (from source). I just tried
installing it and I could use the gem fine. I installed like so, just to be
sure:
$ sudo env ARCHFLAGS="-arch i386" gem install hpricot


On Tue, Sep 15, 2009 at 6:20 PM, Adam Salter wrote:

> Interesting point...
> Are you running ruby 1.9.1/hpricot 64bit?
>
>  -Adam
>
> On 15/09/2009, at 6:09 PM, Bodaniel Jeanes wrote:
>
> One thing to consider is that the ruby 1.8.7 that comes with 10.6 is 64-bit
> but your ruby 1.9 seems to be 32-bit. Possibly the gem install picked up on
> some incorrect env variables and defaulted to building Hpricot for 64-bit?
>
> On Tue, Sep 15, 2009 at 5:43 PM, Adam Salter wrote:
>
>> Is anybody else seeing a segfault on hpricot on OSX 10.6 and Ruby 1.9.1?
>>
>> I've installed ruby with MacPorts.
>>
>> Here's the error:
>>
>> /opt/local/lib/ruby1.9/gems/1.9.1/gems/hpricot-0.8.1/lib/fast_xs.bundle:
>> [BUG] Segmentation fault
>> ruby 1.8.7 (2008-08-11 patchlevel 72) [universal-darwin10.0]
>>
>> Abort trap
>>
>>
>> ruby -v:
>> ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-darwin10]
>>
>> -Adam
>> [image: Dinosaur Comics!]
>>
>>
>>
>>
>
>
>
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" group.
To post to this group, send email to rails-oceania@googlegroups.com
To unsubscribe from this group, send email to 
rails-oceania+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rails-oceania?hl=en
-~--~~~~--~~--~--~---



[rails-oceania] Re: Hpricot segfault OSX - ruby1.9.1

2009-09-15 Thread Adam Salter
Interesting point...
Are you running ruby 1.9.1/hpricot 64bit?

-Adam

On 15/09/2009, at 6:09 PM, Bodaniel Jeanes wrote:

> One thing to consider is that the ruby 1.8.7 that comes with 10.6 is  
> 64-bit but your ruby 1.9 seems to be 32-bit. Possibly the gem  
> install picked up on some incorrect env variables and defaulted to  
> building Hpricot for 64-bit?
>
> On Tue, Sep 15, 2009 at 5:43 PM, Adam Salter  
>  wrote:
> Is anybody else seeing a segfault on hpricot on OSX 10.6 and Ruby  
> 1.9.1?
>
> I've installed ruby with MacPorts.
>
> Here's the error:
>
>> /opt/local/lib/ruby1.9/gems/1.9.1/gems/hpricot-0.8.1/lib/ 
>> fast_xs.bundle: [BUG] Segmentation fault
>> ruby 1.8.7 (2008-08-11 patchlevel 72) [universal-darwin10.0]
>>
>> Abort trap
>
> ruby -v:
> ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-darwin10]
>
> -Adam
>
>
>
>
>
>
> >


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" group.
To post to this group, send email to rails-oceania@googlegroups.com
To unsubscribe from this group, send email to 
rails-oceania+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rails-oceania?hl=en
-~--~~~~--~~--~--~---



[rails-oceania] Re: Hpricot segfault OSX - ruby1.9.1

2009-09-15 Thread Bodaniel Jeanes
One thing to consider is that the ruby 1.8.7 that comes with 10.6 is 64-bit
but your ruby 1.9 seems to be 32-bit. Possibly the gem install picked up on
some incorrect env variables and defaulted to building Hpricot for 64-bit?

On Tue, Sep 15, 2009 at 5:43 PM, Adam Salter wrote:

> Is anybody else seeing a segfault on hpricot on OSX 10.6 and Ruby 1.9.1?
>
> I've installed ruby with MacPorts.
>
> Here's the error:
>
> /opt/local/lib/ruby1.9/gems/1.9.1/gems/hpricot-0.8.1/lib/fast_xs.bundle:
> [BUG] Segmentation fault
> ruby 1.8.7 (2008-08-11 patchlevel 72) [universal-darwin10.0]
>
> Abort trap
>
>
> ruby -v:
> ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-darwin10]
>
> -Adam
> [image: Dinosaur Comics!]
>
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" group.
To post to this group, send email to rails-oceania@googlegroups.com
To unsubscribe from this group, send email to 
rails-oceania+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rails-oceania?hl=en
-~--~~~~--~~--~--~---



[rails-oceania] Re: Average salary for Rails developer down under?

2009-09-15 Thread Andrew Grimm

That's "Mexican" the drinking game, not "Mexican" the epithet, right?

Andrew

On Tue, Sep 15, 2009 at 3:27 PM, Gareth Townsend  wrote:
>
>
>> PS ... just joking guys, I know that those Melbourne guys would
>> drink us Sydney guys under the table each time!!
>
> MEXICAN!
>
> Cheers,
> Gareth Townsend
> http://www.garethtownsend.info
> http://www.melbournecocoaheads.com
>
>
>
>
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" group.
To post to this group, send email to rails-oceania@googlegroups.com
To unsubscribe from this group, send email to 
rails-oceania+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rails-oceania?hl=en
-~--~~~~--~~--~--~---



[rails-oceania] Hpricot segfault OSX - ruby1.9.1

2009-09-15 Thread Adam Salter
Is anybody else seeing a segfault on hpricot on OSX 10.6 and Ruby 1.9.1?

I've installed ruby with MacPorts.

Here's the error:

> /opt/local/lib/ruby1.9/gems/1.9.1/gems/hpricot-0.8.1/lib/ 
> fast_xs.bundle: [BUG] Segmentation fault
> ruby 1.8.7 (2008-08-11 patchlevel 72) [universal-darwin10.0]
>
> Abort trap

ruby -v:
ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-darwin10]

-Adam



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" group.
To post to this group, send email to rails-oceania@googlegroups.com
To unsubscribe from this group, send email to 
rails-oceania+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rails-oceania?hl=en
-~--~~~~--~~--~--~---



[rails-oceania] Re: Advice and vendors in Aus on getting team BDD/TDD, Agile and (possibly) Rails training

2009-09-15 Thread Sonia Hamilton

There's a book put out by Pragmatic Programmers called "Everyday 
Scripting with Ruby" [1] which I'd recommend.

The title's a bit misleading, it should really be called something like 
"Learn Ruby and Test Driven Development". Maybe it's a bit basic for 
experienced programmers, but it does have exercises, which are always 
handy for learning a new language.

The books uses Test::Unit, there's also a book about RSpec and Cucumber 
[2] which I haven't had time to look at yet.

[1] http://pragprog.com/titles/bmsft/everyday-scripting-with-ruby
[2] http://pragprog.com/titles/achbd/the-rspec-book

Sonia Hamilton.



Daryl Manning wrote:
> I've recently relocated to Sydney and with our dev team we've decided  
> to make the move over to some much more agile delivery practices (and  
> possibly moving over to Rails dev from our current php and some java  
> code base). I've got Agile covered if we need that, but in particular  
> really need the team getting used to developing in a BDD/TDD frame of  
> mind (think Cuke and RSpec). Our most likely framework to move to  
> currently is Rails (vs. Django or say, CakePHP or CodeIgniter).
>
> It's a big move and the team needs training and practice (and possibly  
> some mentoring) someone suggested I post to RORO (and I promise to  
> show up to the Trinity pub on the 8th Oct) on possible vendors or  
> ideas for getting them spooled up for what is going to be a very big  
> move.
>
> Any advice, vendor recommendations or ideas would be greatly  
> appreciated (be gently, I just got here... =] ).
>
> thanks !
> Daryl.
>
>
>
>
>
>
>
>
>
>
> >
>   

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" group.
To post to this group, send email to rails-oceania@googlegroups.com
To unsubscribe from this group, send email to 
rails-oceania+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rails-oceania?hl=en
-~--~~~~--~~--~--~---