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

Can't run Apache - Would having Ruby on Rails and mysql server installed on the same machine be the reason why?

everyone. I am trying unsuccessfully to run Apache on my machine. I used the command line to find out all the applications that are using port 80 and I ended them, but Apache refuses to run on my server after that. I have a Ruby on Rails web service…
Engprof
  • 17
  • 1
  • 3
  • 6
0
votes
1 answer

Installing Redmine on Ubuntu 10.04

I'm having some issues installing Redmine on Ubuntu 10.04. I basically ran the following: sudo apt-get install redmine redmine-sqlite redmine-mysql It walked me through things and I configured Redmine to use SQLite 3. Then, using Passenger, I got…
Naftuli Kay
  • 1,708
  • 6
  • 24
  • 44
0
votes
1 answer

Unicorn Worker Pool going idle and slowing down a lot after a period of time

I'm running Teambox community edition on an Ubuntu Server machine, with 600Mhz and 358MB of RAM. I know it's not much and that's probably the cause of all the trouble I'm having, but maybe someone knows another solution. The thing is, I'm running…
Ian
  • 113
  • 8
0
votes
1 answer

Tiny Linux Distro for Rails?

I need to build a Linux image for VirtualBox that includes just enough software to run a Ruby on Rails stack -- basically the kernel, the networking stuff, Ruby 1.9.2, Apache2, mod_rails, and git. Any thoughts on the simplest way to make that…
Alterscape
  • 131
  • 4
0
votes
1 answer

make everything go to https except for one url in rails, nginx, passenger

Hey, I have a rails app and I am already redirecting nearly all traffic to use https. However, there is a particular path in my app which I need accessible by plain http, say somedomain.com/special. I am wondering if this is even possible, as my…
0
votes
2 answers

Clean Nginx config: one Rails app, multiple domains, redirect to non-www domain

I am hosting a Rails app on Nginx that is accessible through a defined set of domains. For each of these domains I also want to forward www to non-www. Right now my config file looks like this: server { listen 80; server_name…
Manuel Meurer
  • 263
  • 1
  • 3
  • 12
0
votes
1 answer

Increasing the number of simultaneous request to mysql shows down rails website performance

Recently we changed app server of our rails website from mongrel to passenger [with REE and Rails 2.3.8]. The production setup has 6 machines pointing to a single mysql server and a memcache server. Before each machine had 5 mongrel instance. Now we…
railscoder
  • 141
  • 1
  • 4
0
votes
2 answers

Rails: missing gem roxml

I'm trying to setup a Rails app on an Ubuntu machine, but the app always fails with the error: Missing these required gems: roxml the gem is installed, and appears in gem list. The app requires a number of other gems all of which I installed…
Tim Fountain
  • 53
  • 1
  • 8
0
votes
2 answers

Convert string to xml in shell script?

I have written a script which is fetching data from database. Now I want to enhance that script to create a xml file with data which is return by database. How may i convert that string to xml file in shell script. script.sh #!/bin/sh echo 'SELECT…
krunal shah
  • 335
  • 1
  • 3
  • 13
0
votes
1 answer

Getting "Insecure world writable dir /home/chance " in PATH, mode 040777 for Rails and Gem on Ubuntu 10.10

I've tried this but it didn't work and seemed to be for osx. I have a fresh Ubuntu 10.10 (x64) install with rvm, rails 3 and ruby 1.9.2. I have a new rails app but using either gem or rails results in the following warnings (with lag). $ rails…
Chance
  • 207
  • 3
  • 10
0
votes
1 answer

Problem: To make default mongrel web server for rail 3.0

Solution : You have only one ruby version of ruby 1.9.2p180 (2011-02-18) [i386-mingw32] Problem Cause: Registry is still showing older version of RubyGems Solution Path: Remove all old version of ruby & dependencies (Note ensure to have all the back…
sharath
  • 1
  • 1
0
votes
1 answer

Nginx with Passenger setup problems

I'm trying to setup nginx webserver with Passenger support for Ruby on Rails application on Ubuntu 10.04 (on sub URI). All went fine until I tried to access the server/application from the browser. My instalation of nginx is in location /opt/nginx #…
Kreeki
  • 103
  • 4
0
votes
1 answer

Deploying Rails and PHP apps on a server of unknown configuration

Given root access to a server that someone else had set up (and they either have no knowledge of how it's configured or won't tell you), what would be the fastest way to determine: 1) What webserver is running at port 80? 2) Is there any special…
Reed G. Law
  • 337
  • 1
  • 3
  • 10
0
votes
1 answer

Installing Passenger in MacOS X using Brew and RVM

#Install RVM bash <<( curl http://rvm.beginrescueend.com/releases/rvm-install-head ) #Install ruby 1.9.2 rvm install 1.9.2 # Set as default rvm --default 1.9.2 # Install passenger in the global gemset rvm @global gem install passenger …
Nerian
  • 157
  • 2
  • 10
0
votes
1 answer

Pros/Cons of Deploying Ruby on Rails Project Subversion Working Copy

A couple of the Rails projects on which I'm working appreciate frequent, incremental updates, which I think is great. Our current deployment strategy is manual but we're considering switching to an automated tool like Capistrano; however, it also…
maerics
  • 203
  • 1
  • 2
  • 7