Ruby is a dynamic, reflective, object-oriented, general-purpose programming language which supports multiple programming paradigms.

Ruby subscription active
You will receive email notifications for new publications on Ruby.
55 Results
  • Question

    How can I run a rake task in my production environment?

    I have set up a rake task that I want to run once an hour using a cron expression. I got it working on my local dev environment, but I can't get it to work on my production environment hosted here. I have the followin...
    Accepted Answer: HI! Let me see if I can help. The first thing that comes to mind is that you do need to set the environment and use bundle. Be sure you're in the root of your rails app, and that you're using the user your app runs as...
    1 By donkerbc Ruby on Rails PostgreSQL Ruby Ubuntu 18.04
  • Question

    Postgresql database server not working in iso recovery mode.

    My droplet data was compromised. So I setup my droplet in iso recovery mode I can access my files but i can not access my database server. I am using postgresql as database.
    Accepted Answer: The Recovery ISO is a standalone Linux environment. Instead of booting your droplet's disk your droplet is directed to boot using the kernel and operating system located within the recovery ISO. This allows even a d...
    1 By sultanyawar Ruby Ruby on Rails PostgreSQL
  • Question

    Ruby Update on Redmine Instance Error

    After successful attempt to update Redmine ( from 3.0.3 to 3.3.3 ) I tried to update Ruby version ( from 2.0.0 to 2.1.4 or 2.2.1 or 2.3.1 ) using rvm The commands that I used are : rvm install 2.2.1 / 2.1.4 / 2.3.1 rv...
    Accepted Answer: Finally found the answer. I should update the passenger_ruby entry on /etc/nginx/nginx.conf update the entry to your ruby installation path should fix the issue
    3 By aqid Ruby One-Click Install Apps Ubuntu
  • Question

    can't connect postgres on the server to postico on my local

    when I connect postgres on the server to postico on my local I get this error could not connect to server: Operation timed out Is the server running on host "" ( and acceptin...
    2 By yasinahmed23 PostgreSQL Ruby
  • Question

    How do I deploy a dockerized ruby app?

    What is the recommended approach for deploying a single dockerized ruby app to Digital Ocean?
    1 By quantumleap Docker Ruby
  • Question

    How to set Rails environment permanently?

    I have Ruby on Rails 5, NginX, and Ubuntu 16.04. running on my droplet. The app has been running for a number of years, however, for some reason it keeps reverting back to development mode. Every time I run rake abou...
    2 By Tintin Ruby Ruby on Rails Ubuntu 16.04
  • Question

    Not serving up-to-date Javascript

    My server is not serving updated JS files; the ones served are not the ones in the code but old ones. I can make changes to HTML okay, but not to JS, so this means the server is responding since I seem some changes. I...
    1 By deltar7 Ruby Ubuntu
  • Question

    puma.sock failed (111: Connection refused) while connecting to upstream(mina,puma,nginx,rails)

    this my error puma.sock failed (111: Connection refused) while connecting to upstream pua.rb ``` !/usr/bin/env puma environment ENV['RAILS_ENV'] || 'production' daemonize true pidfile "/home/alif/www/ozinteractive/sha...
    9 By skoz Ruby Ruby on Rails Nginx Ubuntu
  • Question

    Problem with starting nginx in Ubuntu 16.04

    We have installed Ubuntu 16.04 on our server and almost everything is done. When we try to start nginx, we get this error: Job for nginx.service failed because the control process exited with error code. See "systemct...
    3 By rubioli Nginx Deployment Ruby on Rails Ruby
  • Question

    Incomplete response received from application when non-ascii character in html

    I have an Ubuntu 18.04 server with Nginx and Phusion Passenger (non-Rails app) and it is working for websites with ASCII characters in HTML only. But when I put a non-ascii character to the index.erb like á for exampl...
    0 By o88o Nginx Ruby Ubuntu 18.04
  • Question

    ruby quiz app cant able to update the question

    i created a ruby question answer app but on answering the correct answer the question is getting repeated i.e next question is not appear9ing
    1 By vermarishabh7272 Ruby Ubuntu 18.04
  • Question

    How to run my project on a Ruby on Rails server? One Click install?

    I created the Ruby on Rails One-Click Application droplet, I have uploaded my project and I have also installed all the gems of it, I have restarted the server but it shows error 502 Bad Gateway, what could I miss?
    1 By aolivares Ruby Ruby on Rails Nginx Ubuntu 18.04
  • Question

    Can NOT run rails application on my server's IP address only runs at localhost:3000

    I deployed my rails application on the server with capistrano, nginx and puma, following this tutorial-
    2 By vishdev Ruby Ruby on Rails Nginx Ubuntu 16.04
  • Question

    Receiving Aws::S3::Errors::SignatureDoesNotMatch using Shrine lib

    I'm trying to upload an attachment to Spaces by using Shrine lib from Ruby. here is my config: ``` s3_options = { credentials:"key",'secret'), endpoint: '',...
    2 By mehal Ruby
  • Question

    Unable to create more than 1 droplet using API "You have reached your droplet limit"?

    Hi, I'm new to DigitalOcean and I'm trying to build a ruby application that creates 10 droplets and use SSH to create local posts. I have a basic account and it shows I can create up to 15 droplets whereas when I try ...
    1 By kashisharorain API Applications Ruby Ubuntu 16.04
  • Question

    Change default IP from "localhost" to ""

    I want to change my Default ip address to be How do I go about that?
    2 By ninetailschris Nginx Sinatra Ruby Ubuntu
  • Question

    Move Postgres production data from Heroku to Digitalocean.

    I deployed my Ruby On Rails application to DigitalOcean on Ubuntu 16.04. I have already placed my production on Heroku and was using its free dynos for sometimes. So my Production data is there on heroku's PostgreSql....
    0 By hi3d2255f7d3385cd37d5ffbdf Ruby on Rails PostgreSQL Deployment DigitalOcean Ruby Ubuntu 16.04
  • Question

    Rails PG::ConnectionBad: fe_sendauth: no password supplied

    hi I have a problem when i do rails c and try to see some model example Post.all or try to do a RAILS_ENV=production rake db:migrate show my this PG::ConnectionBad: fe_sendauth: no password supplied But my app work ...
    2 By ricardo68eb9731 Ruby on Rails Ruby
  • Question

    How can I deploy a Sinatra app?

    I've transferred all files to my droplet. is still not responding. I assume it's because the Sinatra server isn't running. How can I resolve this?
    1 By amirhb Sinatra Ruby DigitalOcean Ubuntu
  • Question

    Who is the default user running redmine in one click installation? I need this because git integration raises permission errors!

    I need to know because git integration raises permission Errors
    0 By vpapavasil Ruby Ubuntu 16.04