Skip to content

Commit

Permalink
Remove error and warning during spec run
Browse files Browse the repository at this point in the history
Bootstrap is the cause!
twbs/bootstrap-rubygem#279
  • Loading branch information
okuramasafumi committed Apr 11, 2024
1 parent c13e884 commit ff06c36
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 28 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ruby "3.2.2"

gem "bcrypt", "~> 3.1.20"
gem "bootsnap", require: false
gem "bootstrap"
gem "bootstrap", github: 'twbs/bootstrap-rubygem' # v 5.3.3 should fix the problem, but not released yet
gem "dartsass-rails", "~> 0.5.0"
gem "importmap-rails"
gem "jbuilder"
Expand Down
35 changes: 11 additions & 24 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -94,23 +94,27 @@ GIT
thor (~> 1.0, >= 1.2.2)
zeitwerk (~> 2.6)

GIT
remote: https://github.com/twbs/bootstrap-rubygem.git
revision: 90467dee09b0c6e52e7d58de867148fda0dd9f49
specs:
bootstrap (5.3.2)
autoprefixer-rails (>= 9.1.0)
popper_js (>= 2.11.8, < 3)

GEM
remote: https://rubygems.org/
specs:
addressable (2.8.6)
public_suffix (>= 2.0.2, < 6.0)
autoprefixer-rails (10.4.13.0)
autoprefixer-rails (10.4.16.0)
execjs (~> 2)
base64 (0.2.0)
bcrypt (3.1.20)
bigdecimal (3.1.7)
bindex (0.8.1)
bootsnap (1.18.3)
msgpack (~> 1.2)
bootstrap (5.3.1)
autoprefixer-rails (>= 9.1.0)
popper_js (>= 2.11.8, < 3)
sassc-rails (>= 2.0.0)
builder (3.2.4)
capybara (3.40.0)
addressable
Expand All @@ -134,13 +138,12 @@ GEM
diff-lcs (1.5.1)
drb (2.2.1)
erubi (1.12.0)
execjs (2.8.1)
execjs (2.9.1)
factory_bot (6.4.5)
activesupport (>= 5.0.0)
factory_bot_rails (6.4.3)
factory_bot (~> 6.4)
railties (>= 5.0.0)
ffi (1.15.5)
globalid (1.2.1)
activesupport (>= 6.1)
google-protobuf (3.23.4)
Expand Down Expand Up @@ -248,31 +251,15 @@ GEM
sass-embedded (1.63.6)
google-protobuf (~> 3.23)
rake (>= 13.0.0)
sassc (2.4.0)
ffi (~> 1.9)
sassc-rails (2.1.2)
railties (>= 4.0.0)
sassc (>= 2.0)
sprockets (> 3.0)
sprockets-rails
tilt
selenium-webdriver (4.19.0)
base64 (~> 0.2)
rexml (~> 3.2, >= 3.2.5)
rubyzip (>= 1.2.2, < 3.0)
websocket (~> 1.0)
sprockets (4.2.0)
concurrent-ruby (~> 1.0)
rack (>= 2.2.4, < 4)
sprockets-rails (3.4.2)
actionpack (>= 5.2)
activesupport (>= 5.2)
sprockets (>= 3.0.0)
stimulus-rails (1.3.3)
railties (>= 6.0.0)
stringio (3.1.0)
thor (1.3.1)
tilt (2.2.0)
timeout (0.4.1)
turbo-rails (2.0.5)
actionpack (>= 6.0.0)
Expand Down Expand Up @@ -305,7 +292,7 @@ PLATFORMS
DEPENDENCIES
bcrypt (~> 3.1.20)
bootsnap
bootstrap
bootstrap!
capybara
dartsass-rails (~> 0.5.0)
debug
Expand Down
3 changes: 0 additions & 3 deletions spec/rails_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@
exit 1
end
RSpec.configure do |config|
# Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
config.fixture_path = "#{::Rails.root}/spec/fixtures"

# If you're not using ActiveRecord, or you'd prefer not to run each of your
# examples within a transaction, remove the following line or assign false
# instead of true.
Expand Down

0 comments on commit ff06c36

Please sign in to comment.