Questions tagged [ruby-on-rails]

Ruby on Rails is an open-source, MVC web development framework written in Ruby, optimized for programmer happiness and maintaining sustainable productivity. Many things are defined by convention, freeing you from having to re-invent things to stay productive.

Ruby on Rails is an open-source web framework that's optimized for programmer happiness and sustainable productivity. It lets you write beautiful code by favoring convention over configuration.

911 questions
3
votes
3 answers

Config Subdomain to point to heroku app

I have to host a subdomain of my domain to heroku app. For example abc.com points to a Hostgator account. I want to configure app.abc.com to heroku app. The domain is registered with godaddy. Can anyone please help me out. Regards Avinasha
Avinasha
3
votes
4 answers

Affordable combined Ruby/Rails/Redmine + Subversion hosting?

I am looking for a reliable hosting company I can entrust my code to in the form of a number of Subversion repositories, and a copy of the Redmine project management tool. I am looking for something I can pay up front for a year or two, and is not…
Pekka
  • 2,178
  • 3
  • 20
  • 32
3
votes
2 answers

Static subdomains (used as asset hosts) sometimes are slow or don't work

My setup: Dedicated server, Running my own DNS server, Apache 2, A Ruby on Rails App running on Phusion Passenger 2.2.9, using rail's dynamic asset host generator that fetches assets using these subdomains: static1, static2, static3, static4. In my…
Max
3
votes
3 answers

Installing Redmine on an NSlu2-Linux Device (QNAP)

I would like to run redmine on my NSlu2 NAS Server (QNAP) with an arm processor. I installed ipkg and so on everything runs well. Trying to install redmine I need to install ruby-on-rails. The problem is that the my repositories install ruby version…
ovanes
  • 115
  • 1
  • 3
  • 11
3
votes
2 answers

How to be server admin noob and manage security on Linode/SliceHost/Webbynode?

I'm considering moving a Rails app from a shared hosting provider to a dedicated server or a service like Linode, SliceHost, Webbynode, etc. where, if I understand correctly, the security of the server is completely down to you. With shared hosting…
2
votes
4 answers

Installing a ruby app as a Linux service

There's a very highly rated application for defect management called Redmine. It's written in Ruby. I was able to get it working following their instructions. However, I would like to run the application as a service that starts automatically…
User1
  • 2,486
  • 5
  • 20
  • 21
2
votes
1 answer

Nginx Gzip not compressing JSON

I have tried various settings available for Nginx.conf, none of them are working for me. Below id my current config, gzip on; gzip_disable "msie6"; gzip_vary on; gzip_proxied any; gzip_comp_level 9; …
Vipul
  • 21
  • 2
2
votes
3 answers

CentOS server with nginx, php and Rails with passenger

I'm currently trying to get my server to work with both rails and php. Currently I have Apache2 installed with PHP (Default from the provider) But I'm trying to get rails to work also. We use PHP on our main domain, and are going to have a subdomain…
ThoKra
  • 121
  • 4
2
votes
1 answer

Nginx Proxy to AWS ELB not passing HTTPS protocol to Backend Instances

This is my first ever question, so please go easy on me! I'm trying to set up an Nginx proxy server to auto-generate SSL certificates using OpenResty/Lua and LetsEncrypt, within a multi-tenant SAAS platform. The proxy server is running and…
bryanus
  • 131
  • 1
  • 4
2
votes
1 answer

AWS Elastic Beanstalk - Socket failure on Puma server when more than 300 connections at a given time

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 given time: 2018/03/23 20:56:53 [error] 5431#0:…
2
votes
0 answers

How can I start puma under a specified user/group?

I'm using Rails 5 and the Puma 3 gam on CentOS. Is it possible (and how?) to specify the user and group under which puma runs when it is started? I need to start it with the appropriate user/group so taht my nginx server can connect to it and…
Dave
  • 185
  • 1
  • 7
  • 20
2
votes
1 answer

Heroku - Distributing monolithic Rails app

We have a pretty sizable monolithic Rails app that has a few functions (in parenthesis is the estimated % out of the total codebase): Marketing site when users are not logged in: homepage, additional landing pages, SEO pages, registration/login…
criticerz
  • 71
  • 2
2
votes
3 answers

client_max_body_size not working

I am building a Rails 5 app that is deployed to AWS elastic beanstalk.The app is running into the error 413 (Request Entity Too Large). I have been looking around Google, Stackoverflow, and Serverfault. All of these resources point me to using…
2
votes
0 answers

Unexplained massive rmagick temporarily file

Problem We recently ran into a situation whereby some of our server instances were suddenly running out of disc space, evidenced by below graph: The reason for running out of disc space is a single /tmp/magick-??? file, that grows into a 4GB…
Jack
  • 636
  • 4
  • 15
2
votes
2 answers

App Engine Ruby flex environment app.yaml is ignoring env_variables RAILS_ENV

We are using GAE with Ruby flexible environment, and we're trying to deploy a rails app with staging configurations (i.e. RAILS_ENV=staging). According to https://cloud.google.com/appengine/docs/flexible/ruby/configuring-your-app-with-app-yaml we…