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
-1
votes
1 answer

Looking for some useful resources to find out site and server downtime reasons

I have recently started monitoring some server instances at digitalocean, OVH and an independent provider at biznesshosting. The application servers' stacks are based on: CentOS NGINX with Passenger Rails/Ruby Three background job servers with…
-1
votes
1 answer

How can I defend against malicious GET requests?

My server is getting hit with a variety if requests like the following: Started GET "/key/values" ActionController::RoutingError (No route matches [GET] "/key/values") Started GET "/loaded" ActionController::RoutingError (No route matches [GET]…
MicFin
  • 109
  • 1
  • 6
-1
votes
1 answer

Running Rails Application as root user on nginx

My application(running on nginx) is unable to ssh into a remote machine, reason being that the client has has given ssh rights only to the root user on their server. While debugging this issue, I ran a command 'whoami' from my application and the…
Anss
  • 313
  • 1
  • 4
  • 11
-1
votes
1 answer

Striving to make a RoR app (passenger, nginx) work on EC2

I've installed RoR, ruby, passenger and nginx on EC2 Ubuntu instance. Now I'm striving to make it work and be accessible only for the ec2's address which looks this http://ec2-11-222-333-44.ap-southeast-2.compute.amazonaws.com/ So I've done…
-1
votes
1 answer

how to mitigate hackers trying to find an exploit?

I have a Rails application running in a webserver inside my company, and now and then I see this messages on log: I, [2014-09-04T06:15:33.057513 #37024] INFO -- : Started GET "/pma/scripts/setup.php" for 203.114.105.46 at 2014-09-04 06:│00 I,│15:33…
Luiz E.
  • 111
  • 6
-1
votes
1 answer

After few days of server running fine with nginx it start throwing 499 and 502

Nginx start throwing 499 and 502 after running fine for few days, website is a rails app using thin as the webserver. Restarting the Nginx doent not seem to help. Below the the Nginx config Nginx config under sites-enabled upstream domain1 { …
-1
votes
2 answers

Nginx: Changing user

I have root and deployer users in my ubuntu 13.10. I also have nginx, unicorn installed with Rails 4 application. I'm deploying my application using capistrano 3. Problem: When I prepare a env for Rails. I'm installed nginx using root user. But…
Zeck
  • 101
  • 2
-1
votes
1 answer

SSL apache2 settings no pointing to rails4 app

My apache config /etc/apache2/apache2.conf is: ServerName www.bollymovi.es DocumentRoot /home/fizzy/bollyflix/production/current/public SSLEngine on SSLCertificateFile /home/app/certs/bollymovi.es.crt SSLCertificateKeyFile…
-1
votes
2 answers

passenger is listing all the public folder files

Hello everyone please ignore my noobness, this is very first time i am deploying RailsApp; I have used apache and phussion passenger with rvm, here is my virtual host configurations that i added in apache2.conf, Before this it was giving me…
-1
votes
2 answers

Do I need cPanel for a Rails application?

I'm migrating a Rails application to a dedicated server. Can it be set up without a cPanel installation? It seems like I could use just Apache and Passenger. Cheers!
t56k
  • 115
  • 5
-1
votes
2 answers

Can we run Ruby on Rails app and a Wordpress blog in the same server? How?

Im running Nginx on my PS server. It have three Wordpress websites. Im trying to start converting one website into a Rails application. First I will convert only the front page. The other sections run under subdomains as seperate servers in Nginx.…
THpubs
  • 1,695
  • 7
  • 26
  • 43
-1
votes
2 answers

rvm doesn't install in centos without root privileges

I trying to install RVM using deployer user that doesn't had root privileges ant I getting this error: bash: line 439: ./scripts/install: Permission denied Any help? Thank you!
Rodrigo
  • 179
  • 3
  • 12
-1
votes
3 answers

How do I have multiple Rails Apps in a single server?

I created a Rails app with the name "demo" in my cPanel. I am a newbie in Rails, so forgive me if I am seeming to be so newbish! Now I created another rails app "secondapp". But when I go to my domain (http://mydomain.com) it displays only the demo…
Jey Geethan
  • 775
  • 1
  • 6
  • 11
-1
votes
2 answers

How to restart RoR services after server has been rebooted

Update I have been searching around to see what services would possibly need to be restarted in my project after reboot. One of them was thinking sphinx, which I finally got to the point where it logs: [Fri Nov 16 19:34:29.820 2012] [29623]…
-1
votes
3 answers

Rails application only showing Nginx default page

I am having problems with my Rails application that will use Nginx and Passenger. I've already deployed the application and have setup the nginx config file as such: server { listen 80; server_name www.example.com; root…
gerky
  • 291
  • 1
  • 4
  • 14
1 2 3
60
61