mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Setup a more recent ruby version
2.5.0 has been released since 8 months now...
This commit is contained in:
parent
64d8f05bdd
commit
272690fa21
6 changed files with 10 additions and 3 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -29,7 +29,6 @@ pickle-email-*.html
|
|||
/public/assets
|
||||
/bundle
|
||||
/doc/app
|
||||
.ruby-version
|
||||
.vagrant/
|
||||
.env
|
||||
.env.production
|
||||
|
|
|
|||
1
.ruby-version
Normal file
1
.ruby-version
Normal file
|
|
@ -0,0 +1 @@
|
|||
2.5.0
|
||||
|
|
@ -3,7 +3,7 @@ dist: trusty
|
|||
language: ruby
|
||||
cache: bundler
|
||||
rvm:
|
||||
- 2.4.0@osem --ignore-gemsets
|
||||
- 2.5.0@osem --ignore-gemsets
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
|
|
|
|||
2
Gemfile
2
Gemfile
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
source 'https://rubygems.org'
|
||||
|
||||
# ruby '2.4'
|
||||
ruby ENV['OSEM_RUBY_VERSION'] || '2.5.0'
|
||||
|
||||
# rails-assets requires >= 1.8.4
|
||||
if Gem::Version.new(Bundler::VERSION) < Gem::Version.new('1.8.4')
|
||||
|
|
|
|||
|
|
@ -701,5 +701,8 @@ DEPENDENCIES
|
|||
webmock
|
||||
whenever
|
||||
|
||||
RUBY VERSION
|
||||
ruby 2.5.0p0
|
||||
|
||||
BUNDLED WITH
|
||||
1.16.2
|
||||
|
|
|
|||
|
|
@ -83,3 +83,7 @@ RECAPTCHA_SECRET_KEY=""
|
|||
|
||||
# The url of the redis server
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue