Skip to main content

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

2 votes
1 answer
75 views

Ich was working with puppet and facter to collect information from the puppet node. Testing the *.rb script however regularly failed with WARN backup_key.rb - Command /opt/puppetlabs/facter/facts.d/...
BurninLeo's user avatar
  • 980
0 votes
1 answer
164 views

I was trying to install ruby-2.3.8 with rvm and got this error: rvm install ruby-2.3.8 \ Searching for binary rubies, this might take some time.\ No binary rubies available for: ubuntu/24.04/x86_64/...
Stan Shore's user avatar
4 votes
2 answers
402 views

I am attempting to use rsyslog's omprog output driver to process logging data and apparmor is preventing the program starting. Aug 14 07:55:29 secmgrprd09 kernel: audit: type=1400 audit(1755114929.929:...
Russell Fulton's user avatar
0 votes
0 answers
179 views

I'm trying to set up a production ubuntu 24.04 system with redmine 5.1.9 running in a user account. We have no intention of doing any ruby development whatsoever. I've installed apache, mysql, build-...
Gary Aitken's user avatar
0 votes
1 answer
76 views

I have a site on an older version of Debian (update pending for various reasons). To log in to the server on the command-line I needed to add rsa key options to my SSH "config" file: Host ...
Dave Everitt's user avatar
0 votes
0 answers
243 views

I am just trying to know if router is reaching to specific action of controller. In js, we are using console.log and var_dump in php. I tried with puts but it didn't work and I think it's because of ...
TopEagle's user avatar
0 votes
2 answers
356 views

I have 1 box that seems to not want to run chef, while I have 5 other identical boxes that are working just fine using the same rhel and chef versions. On the non-working box, Chef runs correctly when ...
Alexander Brehm's user avatar
0 votes
1 answer
1k views

I'm currently upgrading rails from 6 to 7 and so had to upgrade my eb platform-version as well (to run ruby-3.0). Now puma isn't able to start and always looping through: [13033] + Gemfile in context: ...
metafoo's user avatar
1 vote
0 answers
323 views

I have two stand alone Vms in vultr running on Ubuntu 18.04 and on top of it I have installed Bigbluebutton server configs and a Greenlight frontend. I have configured another server for scalelite on ...
Cecil John's user avatar
1 vote
1 answer
5k views

I'm trying to setup ruby using rbenv on a server, instead of the apt-get installed version of ruby and bundler. I followed Digital Ocean's guide, deviating only on ruby version (I need 2.7.1) and ruby ...
Goulven's user avatar
  • 111
0 votes
0 answers
122 views

This is my current configuration: server { if ($host = www.mywebsite.com) { return 301 https://mywebsite.com$request_uri; } # managed by Certbot if ($host = mywebsite.com) { ...
Dr.Kameleon's user avatar
0 votes
1 answer
2k views

My AWS instance was working fine with my app. But, today, the server was down without memory ram. Then I run: sync; echo 1 > /proc/sys/vm/drop_caches sudo service nginx start After that, ram ...
Diego Somar's user avatar
0 votes
1 answer
2k views

(I figured this out, it was multiple problems...I'm leaving this as is and explain the process I took to resolve in my answer to this question) I'm working on a simple Ruby script that runs as a cron ...
David Mackey's user avatar
1 vote
0 answers
186 views

I have Ruby version 2.3 installed and I was looking to install sensu-plugins-http:6.1.0 because the latest version was installing another dependency which needs ruby to be on higher version. Like this ...
Learner's user avatar
  • 119
1 vote
0 answers
549 views

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 ...
jeffci's user avatar
  • 121
0 votes
0 answers
3k views

I'm getting this error in log files. it happens when a person reloads page many times. other than that website is working fine. I'm using elastic beanstalk with Nginx + Puma. upstream prematurely ...
Muhammad Umair Raza's user avatar
0 votes
2 answers
569 views

I have an issue similar to this: Wget, Curl, Yum Fail but Ping works - CentOS 5 In my case, I have 2 Ubuntu 18.04 servers which are failing to download from cache.ruby-lang.org: curl -O https://cache....
afarley's user avatar
  • 263
1 vote
1 answer
790 views

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 ...
Rs Graphics's user avatar
0 votes
1 answer
3k views

I have a ruby server running , based on the following repository https://github.com/BuffaloWill/oxml_xxe I am running Ubuntu without vnc installed. I tried to access the server via my public ip and ...
Joel Deleep's user avatar
1 vote
1 answer
733 views

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 ...
eragon-2006's user avatar
0 votes
1 answer
997 views

Right now I have an EBS storage volume in the us-east-2b availability zone. However, I have some code that is automating the process of creating an instance and it's using us-east-2 as its ...
LewlSauce's user avatar
  • 151
0 votes
0 answers
185 views

I know this issue has been discussed several times but I had no luck and I couldn't fix the issue. I am going to run multiple Rails apps on AWS EC2 Instance with Unicorn and Nginx. I could run one ...
Remy Wang's user avatar
  • 101
0 votes
1 answer
2k views

Accessing Puma app running with systemd service behind Nginx proxy results in the following error in nginx error.log: *6 upstream timed out (110: Connection timed out) while reading response header ...
Ilya Cherevkov's user avatar
0 votes
1 answer
625 views

Periodically in production we get these ruby processes that hang up. I just discovered passenger-status --show=requests Which gives me exactly what I want. I want to write some code to build out ...
user1130176's user avatar
0 votes
1 answer
3k views

I'm trying to connect to an LDAP server running slapd, using the net_ldap ruby gem. I'm able to perform the bind action using the cn of the user, but I need to use the uid. The LDAP server was ...
AJFaraday's user avatar
  • 101
1 vote
0 answers
237 views

I'm trying to add a 'type' layer to our hiera backend so webservers can get common configuration, databases get some common configuration, etc. Our hostname scheme is [env][number].domain.tld where [...
user avatar
1 vote
0 answers
347 views

I have a project running on AWS Opsworks, which has current bundler version of 1.5.3 on Ruby 2.2.2. i want to upgrade the bundle version to 1.17.3 but when i try to do it i am getting this error ...
Nijeesh Joshy's user avatar
0 votes
1 answer
453 views

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 ...
Dominic Järmann's user avatar
2 votes
0 answers
59 views

I have a type/provider module that depends on a c-compiled gem. What is the best way to package this up and deploy to the users? Is the SOP to install the gem as a package (using gem provider) first, ...
destructo's user avatar
1 vote
2 answers
589 views

I'm trying to install ruby app onetimesecret on CentOS 7.4.1708 (Core) by this manual: https://github.com/onetimesecret/onetimesecret. Ruby is installed with rvm. Everything is fine while running ...
user1540017's user avatar
2 votes
2 answers
6k views

I am creating a stack via the AWS Ruby SDK v3 and it is failing with an internal error. After a long period of time (30-40 minutes) it fails and rolls back with an internal failure. No resources show ...
hellomynameisjoel's user avatar
0 votes
0 answers
396 views

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 ...
Lenin GAngwal's user avatar
1 vote
1 answer
2k views

I have a Rails 5 app, running on puma 3.12.1, MRI 2.6.2, and Ubuntu 18.04. It used to run with pumactl and a custom control script but I want to configure it properly with systemd, using socket ...
vbalazs's user avatar
  • 119
2 votes
1 answer
10k views

I have 2 containers defined in a docker-compose.yml file, and am using them to run some rspec tests in a CI pipeline - the first container executes the tests, the second is an nginx container that is ...
aweraw's user avatar
  • 73
3 votes
2 answers
2k views

We're migrating from Puppet 2 to 5. It seems the scoping is a little different. Before, when using create_resources() with a hiera_hash and a default hash, variables from within the calling script ...
bdetweiler's user avatar
0 votes
1 answer
115 views

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 ...
Jeremy Dixon's user avatar
1 vote
0 answers
524 views

When I deploy my ruby app on aws using elastic beanstalk. Following error occur. pass log App 20278 stdout: intializing git App 20278 stderr: error: could not lock config file /home/webapp/.gitconfig:...
Fun Media's user avatar
  • 301
0 votes
0 answers
80 views

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/...
Fabrizio Mazzoni's user avatar
1 vote
1 answer
838 views

I want to create systemd for "RAILS_ENV=staging bundle exec rake jobs:work" I have this: $ sudo cat /etc/systemd/system/my_bg_jobs.service [Unit] Description=bg jobs After=syslog.target [Service] ...
Jorimi's user avatar
  • 11
1 vote
1 answer
319 views

I'm trying to pipe filnames into Rubocop as such: $ git diff --name-only | tr '\n' ' ' | rubocop However Rubocop still checks all project files. Is there something wrong on my piping? On Rubocop? ...
bjacquet's user avatar
0 votes
1 answer
462 views

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 ...
t.mod's user avatar
  • 1
1 vote
1 answer
644 views

Tried to install puma with the following command sudo gem install puma -v '3.11.0' Got the below message: Building native extensions. This could take a while... ERROR: Error installing puma: ...
Koala Yeung's user avatar
0 votes
1 answer
1k views

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 ...
Farhan's user avatar
  • 4,387
2 votes
1 answer
4k views

I've been dealing with an, arguably, strange issue on a AWS Elastic Beanstalk environment. I'm getting the following nginx error when there are more than 300 connections on a single instance at a ...
Icid's user avatar
  • 73
1 vote
0 answers
131 views

A few days ago all 4 of my app servers started having issues. It came after I deployed some code, but all I did was update a local database file that stores some IP Addresses, so I didn't make any ...
Sean's user avatar
  • 111
1 vote
1 answer
1k views

I have a array defined in the following format in hiera. master_servers: - "stage-01.com" - "stage-02.com" I am trying to populate the config file with ERB in the following format discovery.zen....
nitin's user avatar
  • 2,609
1 vote
1 answer
300 views

I am new to chef and not able to get a hang of the difference between node vs @node usage in template files. I am not able to find a good documentation around this particular thing. Any explanation or ...
Sidtharthan's user avatar
0 votes
1 answer
248 views

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'] = "...
eragon-2006's user avatar
0 votes
1 answer
277 views

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 ...
jemminger's user avatar
  • 125
0 votes
1 answer
576 views

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 ...
Sigma Octantis's user avatar

1
2 3 4 5
11