From owner-freebsd-ruby@FreeBSD.ORG Wed Mar 16 19:44:54 2011 Return-Path: Delivered-To: freebsd-ruby@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5064F1065670 for ; Wed, 16 Mar 2011 19:44:54 +0000 (UTC) (envelope-from hgic@geekinternetdevelopment.com) Received: from krunky.geekinternetdevelopment.com (wsip-24-234-155-146.lv.lv.cox.net [24.234.155.146]) by mx1.freebsd.org (Postfix) with ESMTP id 2C6908FC15 for ; Wed, 16 Mar 2011 19:44:53 +0000 (UTC) Received: from wsip-24-234-70-196.lv.lv.cox.net ([24.234.70.196] helo=[172.16.249.24]) by krunky.geekinternetdevelopment.com with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.72 (FreeBSD)) (envelope-from ) id 1Pzkyy-000HXU-Gj for freebsd-ruby@freebsd.org; Wed, 16 Mar 2011 00:17:24 -0700 Message-ID: <4D810DB9.9050702@geekazoid.com> Date: Wed, 16 Mar 2011 12:21:29 -0700 From: Glenn User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.15) Gecko/20110303 Lightning/1.0b2 Thunderbird/3.1.9 MIME-Version: 1.0 To: freebsd-ruby@freebsd.org Sender: hgic@geekinternetdevelopment.com Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Ruby Newbie... X-BeenThere: freebsd-ruby@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Ruby discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Mar 2011 19:44:54 -0000 Good Day! I am attempting to install Jobsworth on FreeBSD 8.1-RELEASE (amd64). It requires Ruby 1.9.x. I attempted to install Ruby and applicable gems via the ports collection. Suffice to say that this procedure did not work. :-) My next step was RTFM... In following the instructions at https://github.com/ari/jobsworth#readme , I was able to get much further in the installation process! I was able to get to Step 5 (Ruby gems). The only way I could get Step 5 (Ruby gems) to complete was to run the command as root although the instructions wanted the commands run as my Apache user. When I run Step 6 (Setup configuration and database) and initialize the database schema, I get: Initialize database schema [n]: y Initializing database schema (in /usr/local/www/jobsworth) rake aborted! no such file to load -- iconv /usr/local/www/jobsworth/Rakefile:4:in `' (See full trace by running task with --trace) (in /usr/local/www/jobsworth) rake aborted! no such file to load -- iconv /usr/local/www/jobsworth/Rakefile:4:in `' (See full trace by running task with --trace) Loading Rails to create account... /usr/local/rvm/gems/ruby-1.9.2-p180/gems/json-1.4.6/lib/json/common.rb: 2:in `require': no such file to load -- iconv (LoadError) from /usr/local/rvm/gems/ruby-1.9.2-p180/gems/json-1.4.6/lib/json/common.rb:2:in `' from /usr/local/rvm/gems/ruby-1.9.2-p180/gems/json-1.4.6/lib/json.rb:1:in `require' from /usr/local/rvm/gems/ruby-1.9.2-p180/gems/json-1.4.6/lib/json.rb:1:in `' from /usr/local/rvm/gems/ruby-1.9.2-p180/gems/bundler-1.0.10/lib/bundler/runtime.rb:68:in `require' from /usr/local/rvm/gems/ruby-1.9.2-p180/gems/bundler-1.0.10/lib/bundler/runtime.rb:68:in `block (2 levels) in require' from /usr/local/rvm/gems/ruby-1.9.2-p180/gems/bundler-1.0.10/lib/bundler/runtime.rb:66:in `each' from /usr/local/rvm/gems/ruby-1.9.2-p180/gems/bundler-1.0.10/lib/bundler/runtime.rb:66:in `block in require' from /usr/local/rvm/gems/ruby-1.9.2-p180/gems/bundler-1.0.10/lib/bundler/runtime.rb:55:in `each' from /usr/local/rvm/gems/ruby-1.9.2-p180/gems/bundler-1.0.10/lib/bundler/runtime.rb:55:in `require' from /usr/local/rvm/gems/ruby-1.9.2-p180/gems/bundler-1.0.10/lib/bundler.rb:120:in `require' from /usr/local/www/jobsworth/config/application.rb:7:in `' from :29:in `require' from :29:in `require' from /usr/local/www/jobsworth/config/environment.rb:2:in `' from :29:in `require' from :29:in `require' from setup.rb:181:in `
' I have attempted #2 from http://exceptionz.wordpress.com/2010/02/03/how-to-fix-the-iconv-requi... . I have attempted http://blog.dev001.net/post/2436585997/installing-iconv-using-bundler... Neither has worked. I fear I am missing something simple. Alas, I have zero Ruby experience prior to this project. Any assistance would be greatly appreciated!!! :-) Thank You In Advance! glenn