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

[WIP] Core Renderer #580

Draft
wants to merge 3 commits into
base: v3_release__vue3_rails7_gem_split
Choose a base branch
from
Draft
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: 3 additions & 0 deletions Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ RUN apk update --no-cache && \
apk add build-base postgresql-dev git nodejs yarn tzdata bash sqlite-dev npm && \
mkdir -p /app

# https://github.com/pry/pry/issues/1248
RUN apk --update add less

WORKDIR /app

COPY ./lib/ /app/lib/
Expand Down
3 changes: 3 additions & 0 deletions Dockerfile.test
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ RUN apk update --no-cache && \
apk add build-base postgresql-dev git nodejs yarn tzdata bash sqlite-dev npm && \
mkdir -p /app

# https://github.com/pry/pry/issues/1248
RUN apk --update add less

WORKDIR /app

COPY ./lib/ /app/lib/
Expand Down
4 changes: 2 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ group :development, :test do
gem 'simplecov', require: false, group: :test
gem 'byebug'
gem 'webmock'
gem 'pry-rails'
gem 'pry-byebug'
end

group :test do
gem 'pry-rails'
gem 'pry-byebug'
gem "generator_spec"
# gem "rspec-retry" # repeating flaky tests
# gem "rspec-wait", "~> 0.0.9"
Expand Down
14 changes: 10 additions & 4 deletions spec/dummy/config/initializers/backtrace_silencers.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
# Be sure to restart your server when you modify this file.

# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
# https://api.rubyonrails.org/classes/ActiveSupport/BacktraceCleaner.html
# https://github.com/rails/rails/blob/main/activesupport/lib/active_support/backtrace_cleaner.rb

# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
# Rails.backtrace_cleaner.remove_silencers!
# Show only stacktrace of matestack or the dummy app and not the other gems
Rails.backtrace_cleaner.remove_silencers!
Rails.backtrace_cleaner.add_silencer { |line| line.include? "/usr/local/bundle/gems" }

# Remove docker-path prefix "/app/" from paths to allow advanced terminal features
# like iTerm's "semantic history" which would be broken by the docker path.
Rails.backtrace_cleaner.remove_filters!
Rails.backtrace_cleaner.add_filter { |line| line.gsub(/^\/app\//, '') }