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

Update Gitpod setup #1708

Merged
merged 2 commits into from
Oct 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
3 changes: 2 additions & 1 deletion .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ tasks:
init: |
gp sync-await redis-started
bundle install &&
bin/setup &&
corepack enable &&
yes | bin/setup &&
rails db:setup &&
gp sync-done bundle # 'bundle' is an arbitrary name
command: bin/dev
Expand Down
4 changes: 2 additions & 2 deletions gitpod.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM gitpod/workspace-postgres
USER gitpod

RUN _ruby_version=ruby-3.3.1 \
RUN _ruby_version=ruby-3.3.4 \
&& printf "rvm_gems_path=/home/gitpod/.rvm\n" > ~/.rvmrc \
&& bash -lc "rvm reinstall ruby-${_ruby_version} && rvm use ruby-${_ruby_version} --default && gem install rails" \
&& printf "rvm_gems_path=/workspace/.rvm" > ~/.rvmrc \
Expand All @@ -11,5 +11,5 @@ RUN _ruby_version=ruby-3.3.1 \
RUN curl https://packages.redis.io/gpg | sudo apt-key add - \
&& echo "deb https://packages.redis.io/deb $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/redis.list \
&& sudo apt-get update \
&& sudo apt-get install -y redis libvips \
&& sudo apt-get install -y redis libvips graphviz \
&& sudo rm -rf /var/lib/apt/lists/*
Loading