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