-
Ruby on Rails + Docker links https evilmartians…
Ruby on Rails + Docker links https://evilmartians.com/chronicles/ruby-on-whales-docker-for-ruby-rails-development https://docs.docker.com/samples/rails/ Dockerize your Rails app Dependencies Bash Docker Quick Start Update Postgres and Redis connection configurations # config/database.yml host: postgres port: 5432 username: postgres password: password # config/initializers/sidekiq.rb Sidekiq.configure_server do |config| config.redis = {url: “redis://redis_queue:6379/1”} end Sidekiq.configure_client do |config| config.redis = {url: “redis://redis_queue:6379/1”} end # config/environments/development.rb config.cache_store =…
-
Vagrant script dpkg preconfigure unable to re…
Vagrant script “dpkg-preconfigure: unable to re-open stdin: No such file or directory” https://serverfault.com/questions/500764/dpkg-reconfigure-unable-to-re-open-stdin-no-file-or-directory export DEBIAN_FRONTEND=noninteractive
-
I forgot how much setup was required to…
I forgot how much setup was required to go from a base Ubuntu install to bundling and running ruby things: “mkmf.rb can’t find header files for ruby” and other header files messages with bundler… new to also install ruby-dev with your ruby package install in Ubuntu On Ubuntu… need the following: apt-get install -y ruby…