mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 16:11:42 +00:00
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=
|
||||
|
|
17
Gemfile
17
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
|
||||
gem 'sassc-rails'
|
||||
# Use Uglifier as compressor for JavaScript assets
|
||||
gem 'uglifier', '>= 1.3.0'
|
||||
gem 'bootstrap', '~> 4'
|
||||
|
||||
# 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'
|
||||
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