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
0
votes
2 answers

Apache Canonical Rewrite with Passenger (mod_rails)

I have a rails app served via Passenger (mod_rails) that I want to have a canonical URL. I want all requests to go to http://mydomain.com (so, rewrite http://www.mydomain.com to http://mydomain.com). On my other non-Rails apps, I accomplish this…
neezer
  • 810
  • 3
  • 12
  • 29
0
votes
0 answers

add an asp .net core application to a ruby on rails site hosted on a linux server

I am new to web hosting, and please forgive my ignorance. my company has a website, and the site is an Ruby on Rails application with Passenger hosted on a linux server. I would like to know if it is possible to install an additional asp .net core…
0
votes
1 answer

Rails application not working on AWS after upgrade to Rails 6.1.3

I recently upgraded my application to Rails 6.1.3. When I attempted to deploy the application to AWS the deployment failed with the error message "Following services are not running: application.". I've tried to run the app both locally and by…
0
votes
2 answers

Deploy RoR on Apache 1.3 without admin permissions

At work I have a SuSE 7.3 running Apache 1.3.20, which I don't have admin access to. I'd like to deploy Ruby on Rails with no or very little work for the admins. I need the service to keep running all the time, even if the server is rebooted, I need…
blinry
  • 111
  • 3
0
votes
1 answer

Get rid of content ripping bots in a Rails 4 app served by Nginx using Passenger on Ubuntu 16.04

Our rails app is being inundated with requests from bots that are trolling using IP addresses. Every request results in an exception notification error message. Our original Nginx server block: server { server_name example.com www.example.com…
Jay
  • 191
  • 2
  • 11
0
votes
1 answer

How do I access site.project.rails (running on host) from VMWare fusion?

I have a rails app setup and running on my snow leopard MacBook - the app is being served by Passenger. As part of the setup they had me add entries for 127.0.0.1 site.project.rails in my hosts file so I could reach the site from…
Johnny Mnemonic
0
votes
1 answer

Apache to serve multiple ruby on rails applications from the same domain

I want to serve multiple different ruby on rails applications using Apache and Passenger via a single domain. The applications all should use the same certificate and I want to deliver the apps using HTTPS as default. # single…
0
votes
1 answer

Deploy Rails app to Ubuntu 18.04 or 20.04?

I have an existing Rails app that's been sitting on an old Ubuntu 14.04 server on AWS, and I've recently moved the staging environment over to a new AWS EC2 instance running Ubuntu 18.04. I'm not a Ubuntu expert by any means - hence this question -…
0
votes
0 answers

Failed to run multiple Rails apps with Unicorn + Nginx on single AWS EC2 Instance

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 rails app on mydomain.com So the project will be on…
0
votes
1 answer

Issues with HTTPS and landing pages?

We are going to setup HTTPS for a rails app but I was wondering if there would be any issues with the landing page if it were on HTTPS as well? Ideally, we would like to have the landing page on HTTP, but once a client logs into the app, it should…
GiH
-1
votes
1 answer

Getting nginx to respond to a remote request

I'm trying to troubleshoot why a server won't respond to public requests. I have nginx running and the conf files are: ngingx.conf user www-data; worker_processes 4; pid /run/nginx.pid; events { worker_connections 768; #…
Mark
  • 99
  • 2
-1
votes
2 answers

Nginx proxy depending on the domain name

I'm using a EC2 from AWS with Nginx. Let's say I have three domain name: domain1.com, domain2.com, domain3.com. Let's also say that I have three rails application on three different port: 3000, 3001, 3002. All of these domains are linked to my…
-1
votes
1 answer

CloudFlare SSL Full Nginx Puma Rails

I have a rails app with force_ssl turned on. I generated DH params I'm using Puma as web server. For this configuration, I'm fine with a self-assigned ssl cert, which I generated together with a key and placed in etc/ssl My domain is set up on…
Ben
  • 111
  • 3
-1
votes
1 answer

Sending USR2 to mongrel_rails sometimes results in an “Address already in use” on the restart

We have a rolling-restart mode for our mongrel cluster that sends a USR2 signal to each running process. This works great, most of the time. But very occasionally the mongrel process will shutdown, and then fail to restart, with the following…
Ben
-1
votes
2 answers

Passenger ruby on rails error

so i just finished my app and im uploading my projecto to my production server and when i run the command passenger-install-apache2-module im getting this error /usr/local/rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/rubygems/specification.rb:2158:in…