From owner-freebsd-ruby@FreeBSD.ORG Mon Nov 19 20:29:20 2012 Return-Path: Delivered-To: freebsd-ruby@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 438139F; Mon, 19 Nov 2012 20:29:20 +0000 (UTC) (envelope-from prvs=663f0640a=pschmehl_lists@tx.rr.com) Received: from ip-002.utdallas.edu (ip-002.utdallas.edu [129.110.20.108]) by mx1.freebsd.org (Postfix) with ESMTP id 01ABF8FC14; Mon, 19 Nov 2012 20:29:19 +0000 (UTC) X-Group: None X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsgEAC2WqlCBbgogTmdsb2JhbABFwmkBASNLgh4BAQU4Aj8QCxguQxQGExmHdMAxjDSELGEDiFqgcw X-IronPort-AV: E=Sophos;i="4.83,280,1352095200"; d="scan'208";a="100641769" Received: from zxtm01.utdallas.edu (HELO utd71538.utdallas.edu) ([129.110.10.32]) by ip-002.utdallas.edu with ESMTP/TLS/DHE-RSA-AES256-SHA; 19 Nov 2012 14:28:58 -0600 Date: Mon, 19 Nov 2012 14:28:56 -0600 From: Paul Schmehl To: FreeBSD Ruby List Subject: Re: More problems than I care to think about Message-ID: In-Reply-To: <138C62E5-F2ED-439F-AFA8-777A48B2A87B@freebsd.org> References: <76BB3E3F07A4F68477B30C11@utd71538.campus.ad.utdallas.edu> <138C62E5-F2ED-439F-AFA8-777A48B2A87B@freebsd.org> X-Mailer: Mulberry/4.1.0a1 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline; size=2620 X-BeenThere: freebsd-ruby@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Paul Schmehl List-Id: FreeBSD-specific Ruby discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Nov 2012 20:29:20 -0000 --On November 15, 2012 3:59:36 PM -0800 Stanislav Sedov wrote: > > 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). > There isn't anything wrong (that I'm aware of) with the ruby ports, but ruby-gems are a disaster. They're not up to date, and as you point out even fixing that wouldn't fix everything that's wrong with them. After completely giving up on the port I downloaded the app, downloaded gems and installed it, ran gem install rails, then went to the directory where I put the program and ran bundle install. This (supposedly) downloaded everything I needed to run the app. The next step was to create the database by running 'bundle exec rake snorby:setup'. Rake wasn't installed, so I had to install that. Running it again gave me an error that libmyslqclient.so.15 was not found. That's because I'm running 5.5, not 5.0. After fixing that, I got another error and that's when I said screw this - i've got better things to do with my time than beat a damn app into submission while taking 15 years off my life. Gems sucks. Rails sucks. The whole idea is stupid and sucks. Someone else will have to do it. I'm done with gems, rails and snorby. -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson "There are some ideas so wrong that only a very intelligent person could believe in them." George Orwell