Questions tagged [ruby-on-rails]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
2 views

Fluentd acess json keys in ruby

I use kubernetes fluentd and I get key values in record like "\some_tenant_id", how can I access these keys values in record transform with ruby enabled? record['some_tenant_id'] returns ''
1
vote
0answers
24 views

Reducing docker image size - /usr/lib, /usr/local and /usr/bin

I'm trying to reduce the size of our docker image considerably, as it currently stands at ~1.13GB. Given our app codebase takes up ~300MB and the image is based on Alpine, I think it can be a lot ...
1
vote
1answer
232 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
693 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 ...