Skip to content

Commit

Permalink
Comment out Stripe CLI in Gitpod
Browse files Browse the repository at this point in the history
Stripe CLI cannot be installed using Linuxbrew anymore. Users will need
to add the Stripe CLI manually to the steps since there's no automated
way to grab the latest version easily at the moment.
  • Loading branch information
excid3 committed Aug 16, 2021
1 parent 19e3580 commit 481a206
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
1 change: 0 additions & 1 deletion .gitpod.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,3 @@ RUN bash -lc "rvm install ruby-3.0.1 && rvm use ruby-3.0.1 --default"
RUN echo "rvm_gems_path=/workspace/.rvm" > ~/.rvmrc

# Install the Stripe CLI see https://stripe.com/docs/stripe-cli
RUN brew install stripe/stripe-cli/stripe
18 changes: 9 additions & 9 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Example GitPod configuration. You will need to adjust this for the different processes you run
# Example GitPod configuration. You will need to adjust this for the different processes you run
# during development

image:
Expand All @@ -14,20 +14,20 @@ ports:
onOpen: ignore

# The tasks which run. Each "-" line is a new process, and there are different stages to them
# The "gp sync-done" and "gp sync-await" allow all the independent processes to wait for the
# The "gp sync-done" and "gp sync-await" allow all the independent processes to wait for the
# Initial Rails install to complete
# See https://community.gitpod.io/t/gitpod-yml-and-making-sure-init-completes-before-command/2818/2

# The "yarn add @rails/webpacker" fixes a problem with running webpacker.
# The "yarn add @rails/webpacker" fixes a problem with running webpacker.

tasks:
tasks:
- name: Install
init: >
gem update bundler &&
gem update bundler &&
bundle install &&
yarn add @rails/webpacker &&
yarn install --check-files &&
rails db:setup &&
rails db:setup &&
gp sync-done install
- name: Rails
init: gp sync-await install
Expand All @@ -40,6 +40,6 @@ tasks:
- name: Sidekiq
init: gp sync-await install
command: sidekiq
- name: Stripe
init: gp sync-await install
command: stripe listen --forward-to localhost:5000/webhooks/stripe
# - name: Stripe
# init: gp sync-await install
# command: stripe listen --forward-to localhost:5000/webhooks/stripe

0 comments on commit 481a206

Please sign in to comment.