Skip to content

Commit ec5fbdd

Browse files
committed
Remove rails admin and jquery gems
1 parent d55fdba commit ec5fbdd

File tree

3 files changed

+2
-20
lines changed

3 files changed

+2
-20
lines changed

rails_docker.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@ def source_paths
7474
setup_config
7575

7676
# Setup Javascript and Stylesheets
77-
remove_file 'app/assets/javascripts/application.js'
77+
# Remove Turbolinks from `application.js` file
78+
gsub_file 'app/assets/javascripts/application.js', %r{^\/\/= require turbolinks\n}, ''
7879
directory 'shared/app/assets/javascripts', 'app/assets/javascripts'
7980

8081
remove_file 'app/assets/stylesheets/application.css'

rails_docker/Gemfile.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,11 @@ gem 'fabrication' # Fabrication generates objects in Ruby. Fabricators are schem
1414
gem 'sidekiq' # background processing for Ruby
1515
gem 'bootsnap', require: false # Reduces boot times through caching; required in config/boot.rb
1616

17-
# Admin
18-
gem 'rails_admin'
19-
2017
# Authentications & Authorizations
2118
gem 'devise' # Authentication solution for Rails with Warden
2219
gem 'pundit' # Minimal authorization through OO design and pure Ruby classes
2320

2421
# Assets
25-
gem 'jquery-rails' # Use jquery as the JavaScript library
2622
gem 'sass-rails' # SASS
2723
gem 'uglifier'
2824

shared/app/assets/javascripts/application.js

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)