mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-01 12:24:28 +01:00
upgrade to ruby 2.6
This commit is contained in:
parent
46e4b9173d
commit
879bc7b58a
@ -1 +1 @@
|
||||
ruby-2.3.8
|
||||
ruby-2.6.5
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM ruby:2.3.8-alpine
|
||||
FROM ruby:2.6.5-alpine
|
||||
MAINTAINER peng@sleede.com
|
||||
|
||||
# Install upgrade system packages
|
||||
|
2
Gemfile
2
Gemfile
@ -19,7 +19,7 @@ gem 'sass-rails', '~> 5.0', '>= 5.0.6'
|
||||
# Use Uglifier as compressor for JavaScript assets
|
||||
gem 'uglifier', '>= 4.1.20'
|
||||
# See https://github.com/sstephenson/execjs#readme for more supported runtimes
|
||||
gem 'therubyracer', '= 0.12.0', platforms: :ruby
|
||||
gem 'therubyracer', '= 0.12.3', platforms: :ruby
|
||||
|
||||
# Use jquery as the JavaScript library
|
||||
gem 'jquery-rails'
|
||||
|
@ -419,8 +419,8 @@ GEM
|
||||
ffi
|
||||
term-ansicolor (1.7.1)
|
||||
tins (~> 1.0)
|
||||
therubyracer (0.12.0)
|
||||
libv8 (~> 3.16.14.0)
|
||||
therubyracer (0.12.3)
|
||||
libv8 (~> 3.16.14.15)
|
||||
ref
|
||||
thor (1.0.1)
|
||||
thread_safe (0.3.6)
|
||||
@ -534,11 +534,11 @@ DEPENDENCIES
|
||||
spring-watcher-listen (~> 2.0.0)
|
||||
stripe (= 5.1.1)
|
||||
sys-filesystem
|
||||
therubyracer (= 0.12.0)
|
||||
therubyracer (= 0.12.3)
|
||||
uglifier (>= 4.1.20)
|
||||
vcr (= 3.0.1)
|
||||
web-console (>= 3.3.0)
|
||||
webmock
|
||||
|
||||
BUNDLED WITH
|
||||
1.17.3
|
||||
2.1.4
|
||||
|
@ -111,7 +111,7 @@ Before reporting an issue, please check if your issue is not listed in the [know
|
||||
<a name="related-documentation"></a>
|
||||
## Related Documentation
|
||||
|
||||
- [Ruby 2.3.0](http://ruby-doc.org/core-2.3.0/)
|
||||
- [Ruby 2.6.5](http://ruby-doc.org/core-2.6.5/)
|
||||
- [Ruby on Rails](http://api.rubyonrails.org)
|
||||
- [AngularJS](https://docs.angularjs.org/api)
|
||||
- [Angular-Bootstrap](http://angular-ui.github.io/bootstrap/)
|
||||
|
@ -93,7 +93,7 @@ This procedure is not easy to follow so if you don't need to write some code for
|
||||
10. Install bundler in the current RVM gemset
|
||||
|
||||
```bash
|
||||
gem install bundler --version=1.17.3
|
||||
gem install bundler
|
||||
```
|
||||
|
||||
11. Install the required ruby gems and javascript plugins
|
||||
|
@ -157,11 +157,11 @@ install_rvm() {
|
||||
install_ruby() {
|
||||
echo 'Installing Ruby'
|
||||
sudo apt-get install -y libxml2-dev libxslt1-dev libpq-dev libidn11-dev
|
||||
rvm install ruby-2.3.8
|
||||
rvm use ruby-2.3.8@global
|
||||
rvm install ruby-2.6.5
|
||||
rvm use ruby-2.6.5@global
|
||||
gem update --system --no-doc
|
||||
gem update --no-doc
|
||||
rvm use ruby-2.3.8 --default
|
||||
rvm use ruby-2.6.5 --default
|
||||
rvm cleanup all
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user