-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hydra:jetty rake task doesn't work on Windows #14
Comments
This code affects versions up to 1.4.1 but seems to go away in 1.4.2. |
Sorry, I'm probably being dense here... but "versions up to 1.4.1" of what? |
@yvoloshin jettywrapper, I believe. |
Thanks @mjgiarlo! That explains it. I asked the question because I'm struggling with setting up a hydra head, as I described in a post on the hydra-tech group (https://groups.google.com/forum/#!topic/hydra-tech/VNOPXMScbug). The text of the post is below. Do you have any ideas on what the problem could be? Thanks in advance for any help! I'm new to hydra and I've just started creating a hydra head by following this tutorial on Project Hydra github. I'm stuck and hoping someone will help me out. I generated a rails app and added hydra dependencies. A problem comes up when I try to install hydra jetty. After running "rails g hydra:jetty", I get "Unable to move tmp/jetty_generator/hydra-jetty-master into jetty/ Operation not permitted - (tmp/jetty_generator/hydra-jetty-master, jetty)". There is a mention in the tutorial that the download might not work in Windows, and Windows 8.1 is what I'm using. In my case, the files downloaded with no problems into tmp/jetty_generator/hydra-jetty-master, and the problem came up after the download. There is also a suggestion that installing curl for Windows might help. I've done that and it made no difference. |
Hi! I'm not sure, @yvoloshin; I haven't touched Windows in a long while. Maybe some Windows-savvy folks will chime in on the list. Would you consider working in a Linux virtual environment? That's what folks typically wind up doing during Hydracamp after getting frustrated with trying to develop in the Windows environment. Pinging @mark-dce who may have tips. |
Actually, I'm running vagrant with a Linux virtual environment. One clue that might be relevant is that, after I ran "rails generate hydra:install", I got "ActiveRecord::NoDatabaseError: FATAL: database "hydra-demo_development" does not exist". The I ran "rake db:create db:migrate", which created the databases. After this, I ran "rails g hydra:jetty". Does this tell you anything? |
What do the permissions look like on the |
I'm using the administrator account, so permissions shouldn't be an issue. I tried running the jetty generator again and it actually worked this time. I don't know what was different, since I haven't made any changes to it. "Rake jetty:config" was also successful. But when I ran "rake jetty:start", I got the message below. I think now I'll try to re-build the app, but this time I'll make sure to run db:migrate before generating hydra. D, [2015-07-11T04:10:20.387360 #11193] DEBUG -- : Starting jetty with these values: |
When you run the hydra:jetty rake task on Windows, it returns
without reporting a URL. I assume that it's because of how the url is looked up. Maybe
defined?(ZIP_URL)
returns true on Windows even though it's not actually defined.The text was updated successfully, but these errors were encountered: