solo instalar las gemas de assets en desarrollo
This commit is contained in:
parent
4456deff9c
commit
7227ecfe2a
2 changed files with 11 additions and 7 deletions
|
@ -1,3 +1,4 @@
|
|||
RAILS_GROUPS=assets
|
||||
DELEGATE=athshe.sutty.nl
|
||||
HAINISH=../haini.sh/haini.sh
|
||||
DATABASE=
|
||||
|
|
11
Gemfile
11
Gemfile
|
@ -11,13 +11,16 @@ gem 'dotenv-rails', require: 'dotenv/rails-now'
|
|||
gem 'rails', '~> 6'
|
||||
# Use Puma as the app server
|
||||
gem 'puma'
|
||||
# See https://github.com/rails/execjs#readme for more supported runtimes
|
||||
# gem 'therubyracer', platforms: :ruby
|
||||
# Use SCSS for stylesheets
|
||||
|
||||
# Solo incluir las gemas cuando estemos en desarrollo o compilando los
|
||||
# assets. No es necesario instalarlas en producción.
|
||||
#
|
||||
# XXX: Supuestamente Rails ya soporta RAILS_GROUPS, pero Bundler no.
|
||||
if ENV['RAILS_GROUPS']&.include? 'assets'
|
||||
gem 'sassc-rails'
|
||||
# Use Uglifier as compressor for JavaScript assets
|
||||
gem 'uglifier', '>= 1.3.0'
|
||||
gem 'bootstrap', '~> 4'
|
||||
end
|
||||
|
||||
# Turbolinks makes navigating your web application faster. Read more:
|
||||
# https://github.com/turbolinks/turbolinks
|
||||
|
|
Loading…
Reference in a new issue