I'm upgrading an omnibus install, 8.7.0 to the latest 8.7.2:
$ sudo apt-get update
goes fine then:
$ sudo apt-get install gitlab-ce
does:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer
required:
linux-headers-3.19.0-56 linux-headers-3.19.0-56-generic
linux-image-3.19.0-56-generic linux-image-extra-3.19.0-56-generic
Use 'apt-get autoremove' to remove them.
The following packages will be upgraded:
gitlab-ce
1 to upgrade, 0 to newly install, 0 to remove and 59 not to upgrade.
Need to get 0 B/271 MB of archives.
After this operation, 350 kB of additional disk space will be used.
(Reading database ... 360717 files and directories currently installed.)
Preparing to unpack .../gitlab-ce_8.7.2-ce.0_amd64.deb ...
gitlab preinstall: Automatically backing up only the GitLab SQL database
(excluding everything else!)
rake aborted!
SyntaxError:
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/httparty-0.13.7/lib/httparty/exceptions.rb:13:
syntax error, unexpected end-of-input
class ResponseError <...
^
and continues, but aborts the upgrade and seems to leave my 8.7.0 running
okay.
The line in question in httparty is here:
# response object accessible via the {#response} method.
class ResponseError <
# @return [Net::HTTPResponse] A subclass of Net::HTTPResponse, e.g.
I'm no Ruby programmer, but shouldn't that ResponseError have a subclass
after the '<'?
Just looked at the source for httparty on github:
https://github.com/jnunemaker/httparty/blob/master/lib/httparty/exceptions.rb
that doesn't look like the version in my omnibus distribution... What's
going on?
--
You received this message because you are subscribed to the Google Groups
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/gitlabhq/48ca40ec-bb3f-4d36-a4a3-d30561800463%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.