Questions tagged [ruby]

Ruby is a general-purpose object-oriented open-source scripting language. It sees a high degree of use in the configuration management space, and is popular for web development due to the high adoption of Ruby On Rails

Ruby is an object oriented programming language that has programmer productivity as one of its design goals. Most people are familiar with it these days as part of Ruby On Rails, a web application framework.

498 questions
1
vote
0 answers

Sidekiq not starting on Ubuntu 18.04 LTS in production

I am trying to run Sidekiq in production using Systemd. I am receiving the following error when trying to start sidekiq. /bin/bash -lc "bundle exec sidekiq -e production -C config/sidekiq.yml -L log/sidekiq.log" ERROR: Logfile redirection was…
jeffci
  • 121
  • 1
  • 5
1
vote
1 answer

Elastic Beanstalk Puma NGINX - Ruby on Rails Load Issues

I have an Elastic Beanstalk instance running Ruby on Rails using Puma with Ruby 2.6 running on 64bit Amazon Linux/2.11.7, the instance is scaled to a c5.2xlarge and a database of db.m5.large. The instance is unable to handle more than 500 concurrent…
1
vote
1 answer

Gitlab prometheus error after upgrade with apt-get upgrade

after upgrading my gitlab from 10.9.2 to version 10.10 on my Ubuntu 18.04 it was not possible for the apt-get upgrade process to end successfully. It ended with following message: Ensuring Prometheus is updated:Traceback (most recent call last): …
eragon-2006
  • 127
  • 3
0
votes
1 answer

Ruby on Rails Deployment to Server resulting in old Wrapper Scripts

I'm trying to deploy my RoR Application to an Ubuntu (Latest Version with Updates) Server. The Application will run with the Gem "Passenger". However, i am unable to run Passenger. rvmsudo bundle exec passenger start results in: Your RVM wrapper…
0
votes
0 answers

How to dynamically configure Nginx load balancer to send specific requests one server

For the purpose of debugging and testing, I am looking at ways to send requests pertaining a particular, say customer ID, from the Nginx load balancer to a specified machine. I am using Nginx on my own server. I am using Unicorn as well as Puma on…
0
votes
1 answer

WP-DEPLOY : Cannot Push database

So I've been trying to set up Wp-Deploy for about 3 weeks now :( I have a digitalocean droplet that I am using for staging and was able to finally get my local environment to deploy the files to the server, however, I cannot get the database…
0
votes
0 answers

gitlab installation failing on debian 9.6

I'm having a issue on Debian 9.6. When installing gitlab an error is returned: Setting up gitlab (8.13.11+dfsg1-8+deb9u3) ... Creating/updating gitlab user account... Making gitlab owner of /var/lib/gitlab... Could not find gem 'rails (~> 4.2, >=…
Fabrizio Mazzoni
  • 671
  • 1
  • 9
  • 24
0
votes
1 answer

EasyRedmine rake redmine:email:receive_imap doesn't work

I'm trying to use redmine:email:recive_imap rake task on my company's Easyredmine Server to fetch emails from our server mail's adress, but when I launch the command: rake redmine:email:receive_imap RAILS_ENV="production" host=mail.mycompany…
t.mod
  • 1
  • 1
0
votes
1 answer

Trace rails email logs with postfix logs for email deliver-ability

I have rails application running, which send emails using postfix as relay. Here is flow Rails -> Resque workers -> Postfix -> SES -> email out to clients my problem is i want to find relation between logs of rails and postfix, to ensure that not…
Farhan
  • 4,269
  • 11
  • 49
  • 80
0
votes
1 answer

Explanation needed for entry in gitlab.rb file

in a project I´m working I got the task of being responsible for our gitlab server. In the gitlab.rb of this existing service I found the following line: nginx['custom_gitlab_server_config'] = "location ^~ /.well-known { root /var/www/letsencrypt;…
eragon-2006
  • 127
  • 3
0
votes
1 answer

ruby: symlink doesnt exist yet trying the command says it does?

I've borked something up somehow. On one of my servers, if I type ruby, I get the error bash: /opt/rh/rh-ruby23/root/usr/bin/ruby: No such file or directory which ruby gives: /usr/local/bin/ruby which -a ruby…
jemminger
  • 125
  • 2
  • 8
0
votes
1 answer

Gitlab login page is unreachable

I've configured accidentally that every logged out user will be redirected to x domain, this was done by using the admin panel in the web interface. Now, I only can access things via SSH like modifying gitlab.rb, I've even tried to access the…
0
votes
1 answer

Chef template: Lookup a hash key by another variable

I'm trying to build nginx files for different environments. My recipe has a hashmap like so: domain = { production: { public: 'example.com', internal: 'example.dev' }, staging: { public: 'examplestage.com', internal:…
eternaltyro
  • 262
  • 2
  • 14
0
votes
0 answers

Interpolation in PHP for chef automation

Hi I am using chef for deployment automation of a wordpress site where in I need to read database, host, username and password from my shared.yml for wp-config.php so I am trying below code in my template file
Shailesh Sutar
  • 1,517
  • 5
  • 23
  • 41
0
votes
1 answer

Chef recipe gives error as undefined method 'split'

Hi I am using below in code in my chef recipe and it works fine with all the other existing servers however it doesn't work well with my new server. user_array = node node['user']['user_array_node_attr'].split("/").each do |hash_key| user_array =…
Shailesh Sutar
  • 1,517
  • 5
  • 23
  • 41