Use ruby 3.3.5 in all places

This commit is contained in:
Tocho Tochev 2024-09-22 22:44:30 +03:00
parent 5bbe601110
commit 10e68f3453
5 changed files with 10 additions and 8 deletions

View File

@ -1 +1 @@
3.3.3
3.3.5

View File

@ -2,7 +2,7 @@ language: ruby
dist: xenial
cache: bundler
rvm:
- 2.6
- 3.3
script:
- RAILS_ENV=test bundle exec rake --trace bootstrap spec
addons:

View File

@ -1,7 +1,7 @@
# syntax = docker/dockerfile:1
# 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
# Rails app lives here

View File

@ -6,9 +6,11 @@ A CfP automation system for OpenFest.
### For local development
1. `git clone https://github.com/ignisf/clarion.git`
2. Run `bundle install; bin/rake bootstrap`
3. You can now run the rails server with `bin/rails s`
1. `git clone https://git.openfest.org/Site/clarion/`
2. Run `rvm install "ruby-$(cat .ruby-version)"; rvm install "ruby-$(cat .ruby-version)"`
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
@ -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/`
2. Login (for initial creds see `db/seeds.rb`)
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.

View File

@ -39,7 +39,7 @@ set :linked_dirs, fetch(:linked_dirs, []).push("log", "tmp/uploads", "tmp/pids",
# Default value for keep_releases is 5
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_init_active_record, true