# frozen_string_literal: true # TODO: Podríamos usar solo gems.sutty.nl pero por alguna razón bundler # prefiere x86_64-linux-musl antes que x86_64-linux y ya perdimos mucho # tiempo buscando soporte para musl if ENV['RAILS_ENV'] == 'production' source 'https://gems.sutty.nl' else source 'https://rubygems.org' end git_source(:github) do |repo_name| repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?('/') "https://github.com/#{repo_name}.git" end # Cambiar en Dockerfile también ruby '2.6.6' gem 'dotenv-rails', require: 'dotenv/rails-now' # Bundle edge Rails instead: gem 'rails', github: 'rails/rails' gem 'rails', '~> 6' # Use Puma as the app server gem 'puma' # Use SCSS for stylesheets gem 'sassc-rails' # Use Uglifier as compressor for JavaScript assets gem 'uglifier', '>= 1.3.0' # See https://github.com/rails/execjs#readme for more supported runtimes # gem 'therubyracer', platforms: :ruby # Turbolinks makes navigating your web application faster. Read more: # https://github.com/turbolinks/turbolinks gem 'turbolinks', '~> 5' # Build JSON APIs with ease. Read more: # https://github.com/rails/jbuilder gem 'jbuilder', '~> 2.5' # Use ActiveModel has_secure_password gem 'bcrypt', '~> 3.1.7' gem 'blazer' gem 'bootstrap', '~> 4' gem 'commonmarker' gem 'devise' gem 'devise-i18n' gem 'devise_invitable' gem 'email_address' gem 'exception_notification' gem 'fast_blank' gem 'friendly_id' gem 'hamlit-rails' gem 'hiredis' gem 'image_processing' gem 'icalendar' gem 'inline_svg' gem 'jekyll' gem 'jekyll-data', require: 'jekyll-data', git: 'https://0xacab.org/sutty/jekyll/jekyll-data.git' gem 'lockbox' gem 'mini_magick' gem 'mobility' gem 'pg' gem 'pundit' gem 'rails-i18n' gem 'rails_warden' gem 'redis', require: %w[redis redis/connection/hiredis] gem 'redis-rails' gem 'rubyzip' gem 'rugged' gem 'sucker_punch' gem 'terminal-table' gem 'validates_hostname' gem 'webpacker' gem 'yaml_db', git: 'https://0xacab.org/sutty/yaml_db.git' # performance gem 'flamegraph' gem 'memory_profiler' gem 'rack-mini-profiler' gem 'stackprof' group :themes do gem 'adhesiones-jekyll-theme', require: false gem 'editorial-autogestiva-jekyll-theme', require: false gem 'minima', require: false gem 'share-to-fediverse-jekyll-theme', require: false gem 'sutty-donaciones-jekyll-theme', require: false gem 'sutty-jekyll-theme', require: false end group :production do gem 'lograge' end group :development, :test do gem 'derailed_benchmarks' gem 'pry' # Adds support for Capybara system testing and selenium driver gem 'capybara', '~> 2.13' gem 'selenium-webdriver' gem 'sqlite3' end group :development do gem 'brakeman' gem 'haml-lint', require: false gem 'letter_opener' gem 'listen', '>= 3.0.5', '< 3.2' gem 'rubocop-rails' gem 'spring' gem 'spring-watcher-listen', '~> 2.0.0' gem 'web-console', '>= 3.3.0' end group :test do gem 'database_cleaner' gem 'factory_bot_rails' gem 'timecop' end