Commit a58a96d2 authored by Marcel Amirault's avatar Marcel Amirault

Merge branch 'docs-upgrade-broken-ruby-example' into 'master'

Docs: upgrade (broken) Ruby example

See merge request gitlab-org/gitlab!41242
parents a899e6c3 23add51b
...@@ -80,14 +80,15 @@ so you have to pay extra attention to indentation. Always use spaces, not tabs. ...@@ -80,14 +80,15 @@ so you have to pay extra attention to indentation. Always use spaces, not tabs.
Below is an example for a Ruby on Rails project: Below is an example for a Ruby on Rails project:
```yaml ```yaml
image: "ruby:2.5" default:
image: ruby:2.5
before_script: before_script:
- sudo apt-get update -qq && sudo apt-get install -y -qq sqlite3 libsqlite3-dev nodejs - apt-get update
- ruby -v - apt-get install -y sqlite3 libsqlite3-dev nodejs
- which ruby - ruby -v
- gem install bundler --no-document - which ruby
- bundle install --jobs $(nproc) "${FLAGS[@]}" - gem install bundler --no-document
- bundle install --jobs $(nproc) "${FLAGS[@]}"
rspec: rspec:
script: script:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment