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

Add devcontainer #2084

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add devcontainer #2084

wants to merge 1 commit into from

Conversation

rip747
Copy link

@rip747 rip747 commented Nov 18, 2024

Create a devcontainer to make development and
contribution easier.

The devcontainer is based on the Docker production image with the exception that it uses puma as
instead of nginx.

I needed to pin some of the gems that were being
used in development as they were causing issues.
Those gems were

byebug
pry-byebug
rubocop

Create a devcontainer to make development and
contribution easier.

The devcontainer is based on the Docker production
image with the exception that it uses puma as
instead of nginx.

I needed to pin some of the gems that were being
used in development as they were causing issues.
Those gems were

byebug
pry-byebug
rubocop
@rip747
Copy link
Author

rip747 commented Nov 19, 2024

FYI... I'm going to be working on trying to get the system test passing and then I'll rebase for a final. I just keep getting road blocked by:

Error:
BrowsingUserTicketFlowsTest#test_a_browsing_user_should_be_able_to_create_a_private_ticket_via_widget:
Webdrivers::NetworkError: Net::HTTPServerException: 404 "Not Found" with https://chromedriver.storage.googleapis.com/131.0.6778.69/chromedriver_linux64.zip
test/integration/browsing_user_ticket_flows_test.rb:138:in `block in class:BrowsingUserTicketFlowsTest'

Seems that the latest chrome isn't working. I installed it using the following in the Dockerfile:

RUN apt-get install -y wget
RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \
&& echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list
RUN apt-get update && apt-get -y install google-chrome-stable

I will try to see if I can install an earlier version and maybe that will work. If anyone reads this and knows how to do that, please reply. I just getting started with Docker and getting back into rails so I'm very rusty at this point :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant