Skip to content

Commit 2c30f23

Browse files
committed
Attempt to set up Github for ease of development
1 parent ae0b79c commit 2c30f23

File tree

16 files changed

+514
-12
lines changed

16 files changed

+514
-12
lines changed

.envrc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
use_devbox() {
2+
watch_file devbox.json
3+
eval $(devbox shell --print-env)
4+
}
5+
6+
# use devbox

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
ruby: ['2.7']
17+
ruby: ['2.7.6']
1818

1919
steps:
2020
- name: Checkout

.gitignore

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,7 @@
22
.DS_Store
33
.bundle
44
.gems
5-
.rbenv-version
6-
.ruby-*
7-
/.idea/
8-
/.rbx
9-
/.rvmrc
10-
/.yardoc/*
11-
/Gemfile.lock
5+
/out
126
/coverage/*
137
/dist
148
/doc/*

.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: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
image:
2+
file: .gitpod.Dockerfile
3+
4+
github:
5+
prebuilds:
6+
develop: true
7+
# enable for pull requests coming from this repo (defaults to true)
8+
pullRequests: true
9+
10+
# add a "Review in Gitpod" button as a comment to pull requests (defaults to true)
11+
addComment: true
12+
13+
# add a "Review in Gitpod" button to pull requests (defaults to false)
14+
addBadge: true
15+
16+
# add a label once the prebuild is ready to pull requests (defaults to false)
17+
addLabel: prebuilt-in-gitpod
18+
19+
tasks:
20+
- init: bundle install

.idea/misc.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/vcs.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/workspace.xml

Lines changed: 98 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.rbenv-gemsets

Lines changed: 0 additions & 1 deletion
This file was deleted.

.ruby-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2.7.6

Gemfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
source 'https://rubygems.org'
22

3-
ruby '>= 2.4.0'
3+
ruby '>= 2.7.6'
44

55
gem 'activerecord', '>= 4.2.5', '< 6', require: false
6-
gem 'rake', require: false
6+
gem 'rake', '>= 13.0.6'
77

88
group :development do
99
gem 'bump'

0 commit comments

Comments
 (0)