Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Nov 2012 19:48:23 -0500
From:      Steve Wills <swills@FreeBSD.org>
To:        Paul Schmehl <pschmehl_lists@tx.rr.com>
Cc:        FreeBSD Ports List <freebsd-ruby@FreeBSD.org>
Subject:   Re: My first ruby-based port
Message-ID:  <50A2EA57.9070700@FreeBSD.org>
In-Reply-To: <05D08C9ADA8C05A8ADC45777@utd71538.campus.ad.utdallas.edu>
References:  <05D08C9ADA8C05A8ADC45777@utd71538.campus.ad.utdallas.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On 11/12/12 10:32, Paul Schmehl wrote:
> I'm working on porting snorby. 

Great, glad to hear that!

> It's a ruby rails application.  I've got
> quite a bit sorted out, but I've run into a problem that has me stumped.

Someone else was working on this but ran into an issue that I can't
recall. Something to do with image libraries I think.

> I'm copying the distro to ${PREFIX}/www/snorby and then running bundle
> install, which is based on the author's instructions on installing the
> app.

Calling bundle install is probably not the way to go, for a number of
reasons. Take a look at how other rubygem- ports are built.

> The command runs but generates an error, and I'm not sure if this
> is a missing ruby or rails dependency or what the cause might be.
> 
> Here's the error message:
> 
> cd /var/tmp/snorby/www/snorby && /usr/local/bin/bundle install
> Fetching gem metadata from http://rubygems.org/.....
> Fetching gem metadata from http://rubygems.org/..
> Fetching http://github.com/Snorby/delayed_job_data_mapper.git
> git: not found

It's trying to call git to download what I guess is a fork of
delayed_job_data_mapper. There's a port for delayed_job_data_mapper
already I think. Fetching things from git respos without somehow
verifying them is something we avoid.

Steve

> Git error: command `git clone
> 'http://github.com/Snorby/delayed_job_data_mapper.git'
> "/usr/local/lib/ruby/gems/1.9/cache/bundler/git/delayed_job_data_mapper-431f00851d1c0120050c4c484e6372165f307abc"
> --bare --no-hardlinks` in directory /var/tmp/snorby/www/snorby has failed.
> *** Error code 11
> 
> Hopefully someone can point me in the right direction.  I've posted to
> the snorby mailing list but haven't gotten an answer yet.
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50A2EA57.9070700>