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
236 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
802 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
853 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
96 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
146 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
111 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
626 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
598 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
221 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
121 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
409 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
719 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
743 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
276 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
164 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
531 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
201 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
368 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
416 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
311 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
409 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
91 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
1k 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
2k views

Restarting a Rails Server

What exactly does this command do, in regards to running a Rails server? ~$ sudo touch restart.txt I thought it restarts the Rails server, but it happens so fast when I run it, that I can hardly ...
0
votes
1answer
342 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
592 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
215 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
464 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
118 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
534 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
50 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
748 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
138 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
220 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
215 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
350 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
511 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
99 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
1answer
19 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
15 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
0answers
24 views

Please explain the content of my snorby database.yml

I'm trying to reconfigure my Snorby (installed for MySQL) to work with already existing Snort database (Postgres). This is Snorby database.yml file: snorby: &snorby adapter: mysql username: ...
0
votes
0answers
40 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] ...
0
votes
0answers
16 views

How to install Insoshi in Windows using Rails 3

I am trying to install Insoshi but don't know how to install it. I've tried the read-me file many times but get stuck in the Install script section. Whenever I use this line $ cp ...
0
votes
0answers
23 views

406 error while uploading attachments redmine

Redmine running in Mod_passanger returns error while uploading files: HTTP Status 500 406 Not Acceptable error was encountered while trying to use an ErrorDocument to handle the request. No Apache ...
0
votes
0answers
25 views

Is it possible to use HTTP between a web server running on a macbook and an iPhone using only the USB cable (no WiFi)?

I am going to be flying a lot next week and I want to continue developing my application. It's a server-backed API hosted on rails. I'd like to use my macbook to host the rails, ruby, db environment ...
0
votes
0answers
21 views

Rails Server Not Serving Correctly

Having some issues actually serving my rails app, the server seems to run fine, and I'm incurring no permission errors, or even port bound already errors, nothing at all, but yet the app does not ...