On Nov 15, 2012, at 11:03 AM, Paul Schmehl <[email protected]> wrote:

> I've been trying to port Snorby to FreeBSD.  Emphasis on trying.  I run into 
> problems at every turn, and some seem unresolvable.  Snorby requires ruby 
> 1.9.2 or better.  The default version on FreeBSD is 1.8.  Putting 
> RUBY_DEFAULT_VER=1.9 in /etc/make.conf breaks some of the rubygem ports that 
> will only build on 1.8.
> 
> sysutils/rubygem-bundler was giving me fits.  I discovered that while the 
> port version is 1.1.5, the current version, which fixes the problems I was 
> having, is 1.2.2.  I created a port update for that and was going to submit 
> it, but then I discovered devel/rubygem-eventmachine "blows up" with a core 
> dump if built with 1.9.
> 
> This is beyond discouraging and has caused me to abandon the project entirely.
> 
> It seems that we need a massive effort to update ruby and rails and all gems 
> to the latest versions.  Who is responsible for that?  How can we get that 
> done?
> 

All the ruby ports are already at the latest version and we do generally a very
good job to keep them updated (and we backport fixes and patches regularly).
Rubygems a lot more complicated as there're a lot of messy dependencies between
them and a lot of times you cannot just update something because a lot of other
stuff that depend on a particular version will break as a result.  That's why my
recommendation always was to try to keep all gems out of the ports tree unless
absolutely necessary.  Frankly, it does not make much sense at all to put gems
into ports, as gems, unlike ports, support multiple versions being installed, 
and
a lot of ruby software depend on that feature.

I don't know what kind of problem you're experiencing with event machine, but I
guess it is not ruby related.  It'd be helpful if you can post more info.  I use
eventmachine both from ports and gems for several production application with
ruby 1.9 and have not seen any segfaults (except the one that was housed by my
own C extension library). 

--
ST4096-RIPE



_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ruby
To unsubscribe, send any mail to "[email protected]"

Reply via email to