Skip to content

Commit 1314f0f

Browse files
committed
fixup! Attempt to set up Github for ease of development
1 parent d016527 commit 1314f0f

File tree

2 files changed

+16
-6
lines changed

2 files changed

+16
-6
lines changed

.gitpod.Dockerfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
FROM gitpod/workspace-full
2+
USER gitpod
3+
4+
# Install Ruby version 2.7.6 and set it as default
5+
RUN _ruby_version=ruby-2.7.6 \
6+
&& printf "rvm_gems_path=/home/gitpod/.rvm\n" > ~/.rvmrc \
7+
&& bash -lc "rvm reinstall ${_ruby_version} && \
8+
rvm use ${_ruby_version} --default" \
9+
&& printf "rvm_gems_path=/workspace/.rvm" > ~/.rvmrc \
10+
&& printf "{ rvm use \$(rvm current); } >/dev/null 2>&1\n" >> "$HOME/.bashrc.d/70-ruby"
11+

.gitpod.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,18 @@
1-
# This configuration file was automatically generated by Gitpod.
2-
# Please adjust to your needs (see https://www.gitpod.io/docs/config-gitpod-file)
3-
# and commit this file to your remote git repository to share the goodness with others.
4-
image: gitpod/workspace-ruby-2
1+
image:
2+
file: .gitpod.Dockerfile
53

64
github:
75
prebuilds:
86
develop: true
97
# enable for pull requests coming from this repo (defaults to true)
108
pullRequests: true
11-
# enable for pull requests coming from forks (defaults to false)
12-
pullRequestsFromForks: true
9+
1310
# add a "Review in Gitpod" button as a comment to pull requests (defaults to true)
1411
addComment: true
12+
1513
# add a "Review in Gitpod" button to pull requests (defaults to false)
1614
addBadge: true
15+
1716
# add a label once the prebuild is ready to pull requests (defaults to false)
1817
addLabel: prebuilt-in-gitpod
1918

0 commit comments

Comments
 (0)