Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ruby with build #2

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix bundler
  • Loading branch information
markpundsack committed Jun 22, 2016
commit 3be4dea0f49c8e553b985ffdbe4b17a240df0cc5
10 changes: 5 additions & 5 deletions Ruby-with-build.gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -8,14 +8,14 @@ cache:
paths:
- vendor/ruby

# This is a basic example for a gem or script which doesn't use
# services such as redis or postgres
before_script:
- gem install bundler --no-ri --no-rdoc # Bundler is not installed with the image

build:
stage: build
script:
- ruby -v # Print out ruby version for debugging
- gem install bundler --no-ri --no-rdoc --path vendor # Bundler is not installed with the image
- bundle install -j $(nproc) --path vendor # Install dependencies into ./vendor/ruby
- ruby -v # Print out ruby version for debugging
- bundle install -j $(nproc) --path vendor # Install dependencies into ./vendor/ruby
artifacts:
untracked: true
expires_in: 1 week