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

SSL certificates that works with nginx

All, After thinking about it, we are planning to buy an SSL certificate. Because an SSL certificate is quite costly, would you be able to share your experience on SSL certificate(s) that works with nginx? I am planning to run Ruby on Rails…
Joshua Partogi
  • 455
  • 6
  • 17
0
votes
1 answer

What is the best OS for a server hosting a simple Ruby on Rails based pastebin

I have created a simple pastebin in Ruby on Rails and Python. I want to host it in an intranet and it will have like about 1000 users. I want to use one Apache server with a cluster of Mongrel servers. The server itself is a 2 GHz Intel Centrino…
user42235
0
votes
2 answers

Installing Wordpress in Rails /public - missing mysql extension

I'm trying to install Wordpress in my Rails /public folder. I get the following error message: 'Your PHP installation appears to be missing the MySQL extension which is required by WordPress.' PHP Version 5.2.4-2ubuntu5 is running. I assume I need…
0
votes
1 answer

Passenger apache default page error

I just installed Passenger and the Passenger Pref Pane on OSX. However, when I try to browse to one of my Rails applications I just get the default Apache "it works!" page. I've checked the vhost definitions and they seem ok so I can't seem to…
Ganesh Shankar
  • 249
  • 1
  • 3
  • 10
0
votes
1 answer

Forcin Nginx to render URI from Rails using Passenger

Is it possible to force Nginx to render some URL from Rails app although file exists on server? I want to hide some files based from which subdomain request comes. So I would like to completely avoid direct rendering of file from server.
retro
  • 143
  • 1
  • 5
0
votes
2 answers

No such file or directory - /var/run/mysqld/mysqld.sock

I tried to migrate a 5 year old ruby on rails application onto a new server with Ubuntu 8.04, Apache 2 and MySQL 5. The application failed to run. When I looked in the error logs, I noticed Errno::ENOENT (No such file or directory -…
John
  • 7,343
  • 23
  • 63
  • 87
0
votes
1 answer

Why is apache/passenger unable to open the sqlite3 rails database file?

I'm running apache2/passenger2.0.3 (ubuntu 9.10 packages). I can start up Webrick in the rails folder and run the app perfectly as I do on my development box with script/server Why then does apache/passenger fail to open the database, throwing a…
sendos
  • 21
  • 2
0
votes
1 answer

Trouble with mod_proxy and mongrel_rails

I'm trying to set up a mod_proxy - mongrel combination, but somehow, apache/mod_proxy is unable to access mongrel locally. The following is my configuration for mod_proxy: ProxyRequests Off ProxyPreserveHost On ProxyPass…
fresskoma
  • 1,343
  • 1
  • 10
  • 13
0
votes
2 answers

gem install rails gives me Error: undefined method include?

I'm using ubuntu 9.10, apache 2 and mysql 5. I install ruby 1.8.7 on the server. I ran the command gem install rails -v 1.2.3 But then I get the error ERROR: While executing gem ... (NoMethodError) undefined method `include?' for…
John
  • 7,343
  • 23
  • 63
  • 87
0
votes
4 answers

Starting and stopping Mongrel service over SSH on Windows Server 2003

I have a Rails app running under mongrel as a windows service on a Windows Server 2003 installation. I'd like to automate deploying new versions of the app from my Ubuntu dev server. Cygwin is installed on the Windows server for this purpose. I…
cpm
  • 143
  • 2
  • 5
0
votes
4 answers

Redirect folder to different server

Just for clarity, I already posted this on StackOverflow and got advice that this better fits in ServerFault.com so here goes: I know you can redirect subdomains to a different server, but can you do the same with folders? Say I have example.com. I…
yuval
  • 157
  • 1
  • 2
  • 5
0
votes
1 answer

Can a typical shared host serve both Django & RoR simultaneously?

I'm going to be building two independent applications (one on Django, and one on Rails). I was wondering whether it's reasonable to expect a shared host to be able to do both simultaneously. (Like, can a standard, nothing-special host run multiple…
montooner
  • 421
  • 1
  • 3
  • 12
0
votes
1 answer

How do I combine two SSL-enabled servers in one Apache instance?

I have two different sites, foo.com and bar.com, each running on a different (virtual) machine. Each has an SSL-enabled Ruby-on-Rails site running as follows: # foo.com:/etc/apache2/sites-availables/foo.com.conf: ServerName…
0
votes
1 answer

Upgrade Ruby 1.8.6 to Ruby 1.8.7 patch -level 72

When I try to run application server like ruby script/server It says /usr/lib/ruby/1.8/openssl/cipher.rb:22: Cipher is not a module (TypeError). So I followed the steps given in the following link. When I've run the following command: ruby…
palani
0
votes
1 answer

How to ser GEM_PATH for www-data user Ubuntu/Debian

I have mod_rails and Ruby Enterprise edition. I have an error the the process spawner cannot find the fastthread gem. The problem is that the gem is installed by passenger is looking into the gem directory of the standard MRI version. I should set…
rtacconi
  • 745
  • 4
  • 14
  • 28