Questions tagged [ruby-on-rails]
The ruby-on-rails tag has no usage guidance.
4
questions
1
vote
0answers
15 views
Vagrant - reuse already defined vms within same Vagrantfile
I am using a Vagrantfile to create a Kubernetes cluster, I start with variables definition of servers and I move on to a loop to shuffle through each server definition creation. Within the loop I do ...
1
vote
1answer
205 views
Why is Rails (with Nginx/Passenger via Ansible) unable to see my RAILS_MASTER_KEY environment variable?
I'm writing Ansible playbooks to provision an Ubuntu 18.04 server.
I want to provision the server for a Rails application using Passenger and Nginx. I used geerlingguy.passenger from Ansible Galaxy ...
1
vote
1answer
30 views
Ruby and Rest service in Docker
I am new to DevOps on the Ruby stack. I have Ruby on Rails application. It uses several Rest based service. Each of the services is deployed with Docker. There are no DevOps efforts now. We use Gitlab ...
-1
votes
1answer
632 views
What does the RAILS_ENV environment variable do in Ruby on Rails?
I have this docker-compose.yml:
ports:
- "3000:3000"
environment:
RAILS_ENV: development
What does the RAILS_ENV do?
What difference does it make, when RAILS_ENV is changed to development?
How ...