Closed mark-dce closed 8 years ago
I think the problem is you are not using a supported version of Fedora. As Fedora is not a gem it can't be constrained by the gemspec
If that's the issue, then we probably need to give instructions (at least in dive) and possibly in the Hydra readme on how to specify the version of hydra-jetty being used.
The error mentions IPs... is it related to: https://github.com/projecthydra/hydra-head/commit/8f7df6e664058308610e770e3eac48208cdab2c2
@awead I'm pretty sure the IP issue is just because I'm running in a VM and rails doesn't want to give the the console over a forwarded port.
I just confirmed Justin's diagnosis - running against hydra-jetty release v8.3.1 works without issue.
Is there any way we can pin the hydra release to a hydra-jetty release so new developers (or not bright ones like me) don't run into this issue if they're trying to use the gem in development environments when newer versions of hydra-jetty have been released (particularly with incompatible fedora or solr version)
Note: I tried explicitly setting JETTY_ZIP before downloading and it didn't work. I ended up having to edit the hydra_jetty_version in my local copy of the jetty wrapper gem itself - I will file an issue on jetty-wrapper too.
$ JETTY_ZIP="https://github.com/projecthydra/hydra-jetty/archive/v8.3.1.zip" rake jetty:download
I, [2015-10-27T10:30:27.623066 #24568] INFO -- : Downloading jetty at https://github.com/projecthydra/hydra-jetty/archive/master.zip ...
i.e. it's downloading "master", not the specific release I'm trying to set.
You can't pin Hydra to a specific hydra-jetty release. But you can do:
require 'jettywrapper'
Jettywrapper.hydra_jetty_version = 'v8.3.1'
in your Rakefile.
ISSUE I've just tried generating an app from scratch (Dive-into-Hydra) using the current release candidate (which worked in April), but now I'm getting errors. The dependencies in the 'hydra' gem should be tight enough that a release doesn't break because of future version updates to dependent gems. Possibly, we're just not managing semver successfully in some dependency...
Gemfile
I also tested
ERROR
NOTE: I'm running in a VM using port forwarding, hence the 'cannot render console' warning.