Ruby on Rails is an open-source web development framework 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.

learn more… | top users | synonyms

1
vote
0answers
83 views

Nginx + Passenger not working — client requests hang until timeout

I'm running on an EC2 instance with Amazon Linux installed and Nginx was installed via passenger-install-nginx-module. The full install process followed was similar to this. The primary difference was ...
1
vote
0answers
158 views

502 Bad, Gateway Ruby on Rails [closed]

Our website is currently down(hosted on Digital Ocean) with error code "502 Bad Gateway" and our web developer is currently out on Vacation. I am just an IT person on our network and I don't have web ...
1
vote
0answers
305 views

Hardware concerns for optimal ruby on rails development on ubuntu machine

I've been developing dynamic web sites using ruby on rails on a 5 year old mac mini which has been great except that it takes too much time -- 15 minutes or so -- to run my simple test suites. I ...
1
vote
0answers
993 views

postgres: unable to install postgresql-contrib-9.1

My system version is Ubuntu 13.10 64bit. I encountered this problem by setting up PostgreSQL in a Rails app. First I ran rake db:migrate and it showed an error: -- enable_extension("hstore") rake ...
1
vote
1answer
945 views

Rails startup script runs twice

I'm having some difficulties with a new installation of Ruby on Rails. I want to use my application with MySQL. Here's the problem: The server starts without a problem when I use the default ...
1
vote
0answers
103 views

How to Properly Use a Cloned Rails Project

Recently, I set up a new dev machine. To get it to seamlessly work with my other machine, I used Git to put my project on BitBucket. Then, I cloned it to my new machine. However, running rails s on ...
1
vote
1answer
154 views

Ruby on Rails with Apache Web server

We have a Ruby on Rails application with Webrick server that uses Apache web server and a php blog for the same ruby website running on the same RHEL server. I can access the Apache access log and ...
1
vote
1answer
117 views

Connect from Mac Rails app to MySQL running on Windows 7 machine?

I'm trying to connect my rails app running on my Mac to MySQL running on my Windows 7 machine. They are both on the same network at my house, and I can ping my Windows machine from my Mac. Trying to ...
1
vote
0answers
653 views

-bash: __rvm_add_to_path: command not found

As soon as I log in to my server with ssh I get the message: Last login: Wed Jul 17 16:13:07 2013 from foo.bar.net -bash: __rvm_add_to_path: command not found How can I fix that problem? My website ...
1
vote
1answer
664 views

Rails + SSL error: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed

I'm using Ubuntu. I'm having an issue connecting to another server in one of my http = Net::HTTP.new(uri.host, uri.port) calls. This seemed to be pretty helpful: OpenSSL::SSL::SSLError: SSL_connect ...
1
vote
0answers
243 views

How do I run WEBrick as an upstart job?

I need to get WEBrick (basically a Rails web server) to work using upstart, but cannot figure out what should I write in script. The following gives me an error: chdir /rails-app exec su -s /bin/sh ...
1
vote
1answer
135 views

Rails doesn't work in one directory, but does everywhere else

Terminal output: (^_^) - (vagrant@ubuntu) - (jobs:0) - (~) - (531) ----> rails /// Bunch'O Rails stuff, clearly installed /// (^_^) - (vagrant@ubuntu) - (jobs:0) - (~) - (531) ----> cd - ...
1
vote
0answers
458 views

Remove all Ruby from Ubuntu

I'm trying to start a new project with RadiantCMS, but I'm having lots of problems , because in the server are 2 different Ruby Installations. the First one , was installed following the next tut: ...
1
vote
1answer
784 views

RubyMine Remote Ruby Interpreter Error

I am trying to access my Ubuntu VM through SSH to use as a remote interpreter for RubyMine v5.0.1. However, whenever I successfully authenticate and point to my ruby location, it does not add the ...
1
vote
2answers
888 views

I deleted Ruby.Framework how can I get it back? [duplicate]

Possible Duplicate: Is it possible to reinstall/fix Mac OS X’s system ruby without doing a complete OS reinstall? As the title says, I deleted Ruby.Framework how can I get it back? I don't ...
1
vote
0answers
325 views

Plugin migrations for Redmine: place plugin in db/migrate instead of plugin folder [closed]

I'm a newbie in ruby on rails and creating a redmine plugin. I created a model Allissue without using any column. Now I wanted to add a column project_name with the help of migration ./script/generate ...
1
vote
1answer
178 views

Problems installing rails on Ubuntu 12.04. Rails gems library is empty

I got some problem installing rails on Ubuntu 12.04. I have rails working on my Ubuntu for a little time. But for some reason I uninstall rails. When I decided to install it again with sudo gem ...
1
vote
1answer
565 views

How to make curly braces collapsable in BBEdit (TextWrangler) for ruby on rails code?

So I really like how BBEdit allows you to fold blocks of code. But for Ruby code it doesn't recognize curly braces as a place to insert folds automatically. Is it possible to tweak the preferences in ...
1
vote
0answers
221 views

Redmine using fastcgi [closed]

I am a Software Engineer tasked with installing Redmine on our server. Currently it's running using WebRick from /usr/share/redmine but I would like to: have it run in /srv/redmine (chroot if ...
1
vote
0answers
371 views

Ruby on Rails fails on Windows 7, report activate error

I used the installer kit on http://www.railsinstaller.org/ and everything went fine. Then followed the instructions to setup a project in c:/sites and that worked. But now every time I run 'rails s' ...
1
vote
1answer
433 views

How can I pretty print erb in BBedit indenting rails tags and not just markup?

I want to re-indent my code but the rails tags <% foo %> get aligned to the left with no indentation. What I'm using is: markup > utilities > format > pretty print Does anyone know if ...
1
vote
0answers
362 views

Rails can't find public system files through shared folder through virtualbox

I've just set-up a new dev environment where I have a win 7 host and ubuntu running in virtual box. My rails application files are on the host system, and I shared the folder with the guest, and I ...
1
vote
1answer
426 views

textmate open Ruby on Rails partial shortcut

Is there a shortcut to open a Ruby on Rails partial in textmate? <%= render :partial => "/arts/menu", :locals => {:art => @art} %> Shift + Alt + Command + ↓ does not display ...
1
vote
1answer
534 views

Facebook with Ruby on Rails

I'm trying to follow the Facebooker tutorial (for Ruby on Rails) but I can't get the ssh tunnel running: Bring up your terminal again. You need to start your local development server, and then ...
0
votes
4answers
92 views

Can I shorten my directory commands in ubuntu? [duplicate]

Possible Duplicate: Can I shorten my directory commands in ubuntu? When working on a rails app I like to open all of my files through the command line like so cd my_app gedit ...
0
votes
3answers
4k views

How to install/update Ruby on Rails on Ubuntu 9.10?

I'm running Ubuntu 9.10. I am getting started with ruby on rails development and would like to make sure my system is up to date. This is what I've found out so far: $ which ruby /usr/bin/ruby $ ...
0
votes
3answers
2k views

How can I run a Ruby project found on Github?

I want to run a project from github. Here is the link. I used following command to download the project and it done successfully. $ git clone git://github.com/cheeyeo/Amazon-SNS-Ruby.git But I ...
0
votes
1answer
376 views

why doesn't “which ruby” output anything?

I'm using Debian 6. I uninstalled ruby1.8, and then I installed ruby1.9.1. If I type "which ruby" at the command line, it doesn't output anything. It seems like it doesn't recognize it.
0
votes
4answers
614 views

How do I upgrade to the newest version of Rails?

I'm running on OSX Snow Leopard. Using ruby -v I see I have 1.8.7 and using rails -v I have 2.3.5 When I try gem update rails I get the following error: bundler requires RubyGems version >= ...
0
votes
2answers
216 views

Mac with Rails & Postgres Installed - Overheats quickly?

Anyone else have this problem? I'm on a 15" Macbook running rails and postgres. Needless to say, shortly after powering up the mac and getting into development work, the mac gets very hot at the ...
0
votes
2answers
3k views

How to Install PCRE Development Headers on Mac OSX

I just upgraded my MacBook Pro to Mavericks and my local Ruby on Rails development environment isn't running straight off the bat, when I visit localhost I see It works! and remembered I needed to ...
0
votes
1answer
483 views

WAMP Server won't work

I'm using WAMP. I was out of business for two weeks than I'm back and trying to start my wamp 2. BANG. Nothing happens. The red W icon appears among the hidden icons. When I click it, shows all ...
0
votes
1answer
119 views

Should I run postgresql all the time?

I'm wondering whether there is any speed (in the OS) or security issues with running postgresql all the time (using launchctl) for development of rails apps, whether I should launch postgres only when ...
0
votes
1answer
629 views

What should I make out of this message?

I am trying to set up the Ruby on Rails on my Mac OS X Maverick just to check whether I have Rails installed I typed rails --version and I got this as response ...
0
votes
1answer
67 views

How to investigate why my VIM freezing for 5 sec during saving Rails application files?

What can cause an issue when I am saving a file in rails application folder freezing for about 5 seconds? How to investigate this issue? VIMRC: https://gist.github.com/4632cbcfc655899c934f
0
votes
1answer
965 views

How do I open a Rails Mysql database in Mysql Workbench?

I having trouble finding my mysql database files in Ruby on Rails project and opening it in MysqlWorkbench This is my folder structure for a app This is my database.yml development: ...
0
votes
1answer
148 views

subl does not open in command line

I am unable to open sublime text from the command line in my mac os. Here is what I did so far echo $PATH My path says ...
0
votes
1answer
235 views

After closing the ssh terminal, the thin server is down

I have a rails project run on the thin server(1.3.1) on a ubuntu server. I ssh to the server and start thin with command 'thin start -C config/thin.yml', following the thin.yml, port: 3000 log: ...
0
votes
1answer
245 views

Share local server through a router on a Mac

I've built an application using the Rails framework that was designed for two or three iPads to access through a local network. However, the building I will rent does not have an internet connection ...
0
votes
1answer
375 views

Uninstall / Remove Ruby on Rails server Macbook Pro

Ok, I've looked everywhere for this answer and best I can get is replies like "Why would you ever want to do such a thing". What I want to do is uninstall and completely remove a rails server from my ...
0
votes
1answer
523 views

TextMate on OS X - tab completion not working

What gives. I'm obviously being really thick. I open a file using TextMate (mate r1577 (2010-11-18)) on Mac OS X (10.5.8) When I try and use tab to complete a snippet, for example vp<TAB> does ...
0
votes
1answer
1k views

Setting up autotest with rspec in ubuntu

I'm trying to set up autotest on Ubuntu, and no matter what my configuration, I get this: loading autotest/rails_rspec2 style: RailsRspec2 ...
0
votes
1answer
103 views

What security issues will I face when hosting a web app from home and how should I deal with them? [closed]

I'm considering hosting a publicly available web application from my home with the latest ubuntu server, the ruby on rails framework, some kind of SSL, and mongrel. What security issues will I face ...
0
votes
0answers
7 views

How to run rails driven app (Snorby) on different port

Sorry for being such a newbie but is it possible to make rails driven app (Snorby) being started on port different than 3000? How to do this? I've changed the ports from 3000 to 9000 at ...
0
votes
0answers
133 views

error occurred while installing nokogiri (1.6.6.2), and Bundler cannot continue

I'm in a linux environment where I do not have sudo or root access. I installed rubystack using bitnami. I'm using ruby 2.2.2 and rails 4.2.3. When I'm starting a new rails app using rails new ...
0
votes
2answers
102 views

OS X 10.10.3: Apache(2.4.12) + Passenger 5.0.10 from Homebrew doesn't work

Trying to configure Snorby(ruby app) to work with Apache/2.4.12 and Passenger 5.0.10. -- I've successfully installed from homebrew apache and passenger. brew install httpd24 passenger -- Created ...
0
votes
0answers
32 views

Passenger issue with Rails routes

I have been tasked with getting a Rails 2.3.14 app running with Phusion Passenger 5.0.7 standalone in FreeBSD 9. Setup is all complete and done, the issue I am facing is Passenger doesn’t seem to ...
0
votes
1answer
55 views

How to save printer-friendly version of Ruby on Rails (Redmine) app as HTML?

E.g. there is the issue list in Redmine. When I show print preview there only the table without headers will be shown and there will be a bit different style of the table (css for printer-friendly ...
0
votes
0answers
61 views

Unicorn and sidekiq automatically go down in gitlab

I have a gitlab in production running successfully for more than 2 years. Recently It started behaving weird. The unicorn automatically stops. I have done an upgrade to the recent stable thinking that ...
0
votes
1answer
106 views

Snorby with PostgreSQL installation issue in Mac OS X 10.10.2 (Yosemite)

Trying to setup Snorby for Snort with PostgreSQL on Mac OS X 10.10.2 (Yosemite) Snort 2.9.7.2 GRE (Build 177) PostgreSQL 9.4.1 ruby 1.9.3p551 (2014-11-13 revision 48407) [x86_64-darwin14.1.0] ...