My first ruby-based port
Steve Wills
swills at FreeBSD.org
Wed Nov 14 00:48:39 UTC 2012
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.
>
More information about the freebsd-ruby
mailing list