Skip to content

Commit 77a49de

Browse files
authored
Merge pull request #100 from rafiss/upgrade-ruby
Upgrade to ruby 2.7.1
2 parents b41f895 + 0b96f96 commit 77a49de

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ RUN curl https://storage.googleapis.com/golang/go1.9.1.linux-amd64.tar.gz -o gol
3131
RUN mkdir ruby-install && \
3232
curl -fsSL https://github.com/postmodern/ruby-install/archive/v0.6.1.tar.gz | tar --strip-components=1 -C ruby-install -xz && \
3333
make -C ruby-install install && \
34-
ruby-install --system ruby 2.4.0 && \
34+
ruby-install --system ruby 2.7.1 && \
3535
gem update --system
3636

3737
ENV PATH /usr/local/go/bin:$PATH

docker.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
set -euo pipefail
2323

24-
image=cockroachdb/example-orms-builder:20200129-1444
24+
image=cockroachdb/example-orms-builder:20200413-1918
2525

2626
gopath=$(go env GOPATH)
2727
gopath0=${gopath%%:*}

ruby/ar4/Gemfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ gem 'jbuilder', '~> 2.0'
2222
# bundle exec rake doc:rails generates the API under doc/api.
2323
gem 'sdoc', '~> 0.4.0', group: :doc
2424

25+
# Need to pin bigdecimal: https://github.com/ruby/bigdecimal/issues/127
26+
gem 'bigdecimal', '1.4.2'
27+
2528
# Use ActiveModel has_secure_password
2629
# gem 'bcrypt', '~> 3.1.7'
2730

0 commit comments

Comments
 (0)