laurilehmijoki / s3_website

Manage an S3 website: sync, deliver via CloudFront, benefit from advanced S3 website features.
Other
2.24k stars 187 forks source link

unsupported Java version: 17 #335

Closed ndvbd closed 1 year ago

ndvbd commented 2 years ago

unsupported Java version: 17

Any ideas?

ivoanjo commented 2 years ago

You can use my fork instead, it should work on Java 17: https://github.com/ivoanjo/s3_website

ndvbd commented 2 years ago

@ivoanjo How can we install your fork? Can you add to your documentation?

ivoanjo commented 2 years ago

@ndvbd you can install it directly from git:

# Add this to your `gems.rb`/`Gemfile`
gem 's3_website', git: 'https://github.com/ivoanjo/s3_website.git'

If there's interest, I can try pushing a release on rubygems.org, but I wasn't sure if anyone else still wanted it, so I got slightly lazy ;)

stmgit commented 1 year ago

I tried installing your fork as listed above but get this error. gem 's3_website', git: 'https://github.com/ivoanjo/s3_website.git' ERROR: While executing gem ... (Gem::UnknownCommandError) Unknown command s3_website, I'm using the latest bundler: Successfully installed bundler-2.4.7 I'm hoping to get this working on Ubuntu 22.04 or I'll have to give up on s3_website and look for alternatives. Thanks for your help.

ivoanjo commented 1 year ago

@stmgit The instructions above are for installing the gem using bundler -- you need to add that incantation to your Gemfile or gems.rb file and then run bundle install (I've also updated the comment above to make that more clear).

Let me know if that doesn't work for you! Installing using gem directly on the command-line is a bit more awkward, but I can also share the instructions for doing that :)