Setup a more recent ruby version

2.5.0 has been released since 8 months now...
This commit is contained in:
Henne Vogelsang 2018-09-04 21:25:53 +02:00
parent 64d8f05bdd
commit 272690fa21
6 changed files with 10 additions and 3 deletions

1
.gitignore vendored
View file

@ -29,7 +29,6 @@ pickle-email-*.html
/public/assets /public/assets
/bundle /bundle
/doc/app /doc/app
.ruby-version
.vagrant/ .vagrant/
.env .env
.env.production .env.production

1
.ruby-version Normal file
View file

@ -0,0 +1 @@
2.5.0

View file

@ -3,7 +3,7 @@ dist: trusty
language: ruby language: ruby
cache: bundler cache: bundler
rvm: rvm:
- 2.4.0@osem --ignore-gemsets - 2.5.0@osem --ignore-gemsets
branches: branches:
only: only:
- master - master

View file

@ -2,7 +2,7 @@
source 'https://rubygems.org' source 'https://rubygems.org'
# ruby '2.4' ruby ENV['OSEM_RUBY_VERSION'] || '2.5.0'
# rails-assets requires >= 1.8.4 # rails-assets requires >= 1.8.4
if Gem::Version.new(Bundler::VERSION) < Gem::Version.new('1.8.4') if Gem::Version.new(Bundler::VERSION) < Gem::Version.new('1.8.4')

View file

@ -701,5 +701,8 @@ DEPENDENCIES
webmock webmock
whenever whenever
RUBY VERSION
ruby 2.5.0p0
BUNDLED WITH BUNDLED WITH
1.16.2 1.16.2

View file

@ -83,3 +83,7 @@ RECAPTCHA_SECRET_KEY=""
# The url of the redis server # The url of the redis server
OSEM_REDIS_URL='redis://localhost:6379/1' OSEM_REDIS_URL='redis://localhost:6379/1'
# The ruby version you want to use with OSEM
# Please note: We only test 2.5.0
OSEM_RUBY_VERSION=2.5.0