On Sat, 2016-06-04 at 00:54 +0200, Hanspeter Kunz wrote:
> On Don, 2016-06-02 at 21:51 +0530, Pirate Praveen wrote:
> > 
> > On Mon, 18 Apr 2016 10:10:04 +0200 Xavier Bestel <xavier.bestel@fre
> > e.
> > fr>
> > wrote:
> > > 
> > > rake aborted!
> > > TypeError: no implicit conversion of Pathname into String
> > > /usr/share/gitlab/lib/tasks/migrate/add_limits_mysql.rake:1:in
> > > `<top
> > > (required)>'
> > are you using mysql?
> I see exactly the same error as Xavier, and yes, I am using mysql.

I was able to "fix" my system doing the following steps:

1. make a symbolic link /usr/share/gitlab/db => /var/lib/gitlab/db

why: the db migration scripts are looking in /usr/share/... for
snippets (at least
/usr/share/gitlab/lib/tasks/migrate/add_limits_mysql.rake does), but
the snippets are actually installed under /var/lib/...

2. change the first line of
/usr/share/gitlab/lib/tasks/migrate/add_limits_mysql.rake to:

require Rails.root.join('db/migrate/limits_to_mysql').to_s
                                                     ^^^^^

I doubt that the above workarounds are the proper fixes. But at least
my system is now up and running again.

Anyway, I hope this helps others and the maintainer to resolve the bug.

Best,
Hp

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Pkg-ruby-extras-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

Reply via email to