I hereby claim:
- I am pftg on github.
- I am pftg (https://keybase.io/pftg) on keybase.
- I have a public key ASCMuwK47cZW2OTDGVxqtBf7NSDr0bwRGLtOfj3Cp6errQo
To claim this, I am signing this object:
release: bin/heroku-release | |
web: bundle exec puma -C config/puma.rb |
Rails.application.configure do | |
# ... | |
# For Rails 4 we need to add those settings | |
config.serve_static_files = true | |
config.static_cache_control = 'public, max-age=2592000' | |
config.assets.digest = true | |
config.assets.debug = false | |
if ENV['CI'] | |
config.assets.compile = false |
# Ruby CircleCI 2.0 configuration file | |
# | |
# Check https://circleci.com/docs/2.0/language-ruby/ for more details | |
# | |
version: 2 | |
jobs: | |
build: | |
environment: | |
BUNDLE_GEMFILE: Gemfile | |
BUNDLE_WITHOUT: "production:staging:development" |
- restore_cache: | |
keys: | |
- v1-asset-cache-{{ arch }}-{{ .Branch }} | |
- v1-asset-cache- | |
- run: bundle exec rake assets:precompile | |
- save_cache: | |
key: v1-asset-cache-{{ arch }}-{{ .Branch }}-{{ epoch }} | |
paths: |
- restore_cache: | |
keys: | |
- v1-asset-cache-{{ arch }}-{{ .Branch }} | |
- v1-asset-cache- | |
- run: bundle exec rake assets:precompile | |
- save_cache: | |
key: v1-asset-cache-{{ arch }}-{{ .Branch }}-{{ epoch }} | |
paths: |
# Add after bundle install section | |
- restore_cache: | |
keys: | |
- v1-asset-cache-{{ arch }}-{{ .Branch }} | |
- v1-asset-cache- | |
- run: bundle exec rake assets:precompile | |
- save_cache: |
# .circleci/config.yml | |
version: 2 | |
jobs: | |
lint: | |
environment: | |
- BUNDLE_GEMFILE: Gemfile.tools | |
docker: | |
# specify the version you desire here | |
- image: circleci/ruby:2.4.2-stretch-node-browsers | |
environment: |
I hereby claim:
To claim this, I am signing this object:
// /etc/docker/daemon.json | |
{ | |
"dns": ["8.8.8.8", "8.8.4.4"], | |
"graph": "/mnt/storage/var/lib/docker", | |
"storage-driver": "overlay2", | |
"log-driver": "none" | |
} |
#!/bin/sh | |
brew reinstall --force ffmpeg \ | |
--with-fdk-aac --with-ffplay --with-freetype --with-libass --with-libquvi \ | |
--with-libvorbis --with-libvpx --with-opus --with-x265 |