In this DigitalOcean article, we will learn a couple of different ways to take your Sinatra application out of its hidden box and share it with the world on Ubuntu using different and interesting technologies and meth...
In this DigitalOcean article, we are going to learn how to install the latest available version of the official Ruby interpreter (2.1.0) on a Ubuntu 13 droplet along with Sinatra web-application development library. A...
How to backup WHM (Cent OS) remotely to the Spaces if this is correct ? and is it need to be set API ?
cPanel WHM has a S3 compatible backup option (which Spaces is). Check out this article for more details:
Ok, so... I have set up a droplet here in DigitalOcean with Ubuntu 18.04 for a Ruby/Sinatra website, using Puma + Nginx + SSL (via Let's encrypt).
Everything works fine.
However, since most (but not all) of my Sinatra...
Getting an error of Unknown "MySQL server host 'hostname' (0) (DataObjects::SQLError)". Anyone have an answer to this problem? And if yes, what are the steps to go about fixing it.
http://prntscr.com/cjzyrl. My request scheme to the server is showing its http and not secure. The problem is that I'm using https and my url is showing that but its still not secure.
My config in apache. http://prn...
I've setup my virtual host http://prntscr.com/chb2jq . Thin from Sinatra is running. http://prntscr.com/chb2v5 . What am I missing to display my Sinatra pages. I'm getting no errors so it should be something small I a...
I've tried to use command "ruby app.rb&" . As far as I know, the mark "&" is use for keep my process running in the background that even I exit from ssh. However, as I exited, my program stop itself there. What shoul...
I followed the response to this question: https://www.digitalocean.com/community/questions/nginx-and-unicorn-multiple-rails-apps
But, all requests to b.com go directly to a.com ! I've confirmed a different so...
I have an ruby with sinatra application, and Im trying to run the server with unicorn.
Im using the command:
service unicorn restart
service ngnix restart
and in my logs I get:
I am a complete noob and I'm sure I've done something wrong, but I'm at a loss in how to make it work. I've written a basic "Hello World" script and put it in my /var/www/html/sites directory on Centos. I've followe...