Use ruby 3.3.5 in all places
This commit is contained in:
parent
5bbe601110
commit
10e68f3453
|
@ -1 +1 @@
|
||||||
3.3.3
|
3.3.5
|
||||||
|
|
|
@ -2,7 +2,7 @@ language: ruby
|
||||||
dist: xenial
|
dist: xenial
|
||||||
cache: bundler
|
cache: bundler
|
||||||
rvm:
|
rvm:
|
||||||
- 2.6
|
- 3.3
|
||||||
script:
|
script:
|
||||||
- RAILS_ENV=test bundle exec rake --trace bootstrap spec
|
- RAILS_ENV=test bundle exec rake --trace bootstrap spec
|
||||||
addons:
|
addons:
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# syntax = docker/dockerfile:1
|
# syntax = docker/dockerfile:1
|
||||||
|
|
||||||
# Make sure RUBY_VERSION matches the Ruby version in .ruby-version and Gemfile
|
# Make sure RUBY_VERSION matches the Ruby version in .ruby-version and Gemfile
|
||||||
ARG RUBY_VERSION=3.3.0
|
ARG RUBY_VERSION=3.3.5
|
||||||
FROM registry.docker.com/library/ruby:$RUBY_VERSION-slim as base
|
FROM registry.docker.com/library/ruby:$RUBY_VERSION-slim as base
|
||||||
|
|
||||||
# Rails app lives here
|
# Rails app lives here
|
||||||
|
|
10
README.md
10
README.md
|
@ -6,9 +6,11 @@ A CfP automation system for OpenFest.
|
||||||
|
|
||||||
### For local development
|
### For local development
|
||||||
|
|
||||||
1. `git clone https://github.com/ignisf/clarion.git`
|
1. `git clone https://git.openfest.org/Site/clarion/`
|
||||||
2. Run `bundle install; bin/rake bootstrap`
|
2. Run `rvm install "ruby-$(cat .ruby-version)"; rvm install "ruby-$(cat .ruby-version)"`
|
||||||
3. You can now run the rails server with `bin/rails s`
|
3. Start up postgresql
|
||||||
|
4. Run `bundle install; bin/rake bootstrap`
|
||||||
|
5. You can now run the rails server with `bin/rails s`
|
||||||
|
|
||||||
### For production
|
### For production
|
||||||
|
|
||||||
|
@ -25,5 +27,5 @@ Note that the docker image contains a default user (for credentials see `db/seed
|
||||||
1. Go to `http://127.0.0.1:3000/management/`
|
1. Go to `http://127.0.0.1:3000/management/`
|
||||||
2. Login (for initial creds see `db/seeds.rb`)
|
2. Login (for initial creds see `db/seeds.rb`)
|
||||||
3. Change the credentials
|
3. Change the credentials
|
||||||
3. Create a conference.
|
4. Create a conference.
|
||||||
- NB: When creating a conference make sure to use the same `domain` as the one you are currently using, otherwise nothing will be shown.
|
- NB: When creating a conference make sure to use the same `domain` as the one you are currently using, otherwise nothing will be shown.
|
||||||
|
|
|
@ -39,7 +39,7 @@ set :linked_dirs, fetch(:linked_dirs, []).push("log", "tmp/uploads", "tmp/pids",
|
||||||
# Default value for keep_releases is 5
|
# Default value for keep_releases is 5
|
||||||
set :keep_releases, 550
|
set :keep_releases, 550
|
||||||
|
|
||||||
set :rvm_ruby_version, "2.6.5"
|
set :rvm_ruby_version, "3.3.5"
|
||||||
|
|
||||||
set :puma_bind, ["tcp://127.0.0.1:9087"]
|
set :puma_bind, ["tcp://127.0.0.1:9087"]
|
||||||
set :puma_init_active_record, true
|
set :puma_init_active_record, true
|
||||||
|
|
Loading…
Reference in New Issue