diff --git a/CONTAINERS.md b/CONTAINERS.md index ad41bc6c18..ceee2b7bca 100644 --- a/CONTAINERS.md +++ b/CONTAINERS.md @@ -191,7 +191,7 @@ We publish several Hyrax images to the [GitHub container registry][ghcr] under the [Samvera organization][samvera-packages]. To build them: ```sh -export HYRAX_VERSION=v4.0.0.rc3 # or desired version +export HYRAX_VERSION=v4.0.0 # or desired version git checkout hyrax-$HYRAX_VERSION docker build --target hyrax-base --tag ghcr.io/samvera/hyrax/hyrax-base:$(git rev-parse HEAD) . diff --git a/documentation/legacyREADME.md b/documentation/legacyREADME.md index f2d07ce45c..5ad396c02b 100644 --- a/documentation/legacyREADME.md +++ b/documentation/legacyREADME.md @@ -50,7 +50,7 @@ The Samvera community is here to help. Please see our [support guide](../.github # Getting started This document contains instructions specific to setting up an app with __Hyrax -v4.0.0.rc3__. If you are looking for instructions on installing a different +v4.0.0__. If you are looking for instructions on installing a different version, be sure to select the appropriate branch or tag from the drop-down menu above. @@ -139,11 +139,11 @@ Starting up Redis will depend on your operating system, and may in fact already ## Rails -Hyrax requires Rails 5. We recommend the latest Rails 5.2 release. +Hyrax requires Rails 6. We recommend the latest Rails 6.1 release. ``` # If you don't already have Rails at your disposal... -gem install rails -v 5.2.6 +gem install rails -v 6.1.7.3 ``` ### JavaScript runtime @@ -159,7 +159,7 @@ NOTE: The steps need to be done in order to create a new Hyrax based app. Generate a new Rails application using the template. ``` -rails _6.1.7.3_ new my_app -m https://raw.githubusercontent.com/samvera/hyrax/hyrax-v4.0.0.rc3/template.rb +rails _6.1.7.3_ new my_app -m https://raw.githubusercontent.com/samvera/hyrax/hyrax-v4.0.0/template.rb ``` Generating a new Rails application using Hyrax's template above takes cares of a number of steps for you, including: diff --git a/lib/hyrax/version.rb b/lib/hyrax/version.rb index a12f1d7755..447943d18a 100644 --- a/lib/hyrax/version.rb +++ b/lib/hyrax/version.rb @@ -1,4 +1,4 @@ # frozen_string_literal: true module Hyrax - VERSION = '4.0.0.rc3' + VERSION = '4.0.0' end diff --git a/template.rb b/template.rb index 10c3487338..e078162aea 100644 --- a/template.rb +++ b/template.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true # Hack for https://github.com/rails/rails/issues/35153 gsub_file 'Gemfile', /^gem ["']sqlite3["']$/, 'gem "sqlite3", "~> 1.3.0"' -gem 'hyrax', '4.0.0.rc3' +gem 'hyrax', '4.0.0' run 'bundle install' generate 'hyrax:install', '-f'