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
467 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
0answers
157 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
59 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
291 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
520 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
300 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
193 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
113 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
360 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
137 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
332 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
342 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
206 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
384 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
522 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
89 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
137 views

How to install rvm as user jenkins?

I am following these steps to setup a Jenkins server on an Ubuntu EC2 instance. Everything is fine until I get to this step: As you can see (at the end of the output) I am being asked for the ...
0
votes
3answers
419 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
1k 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
276 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
520 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
208 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
687 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
411 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
114 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
26 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
35 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
323 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
103 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
151 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
170 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
274 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
436 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
92 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
38 views

All rails application logs being written to apache error log

I've deployed a ruby on rails 4.0.3 application to a server that I've configured with the following likely relevant software: Ubuntu 12.04.4 x64 server Phusion Passenger 4.0.37 Apache 2.2.22 Ruby ...
0
votes
0answers
10 views

how to set breakpoint in gemfile for rubymine

I'm currently looking at the guts of query_report gem by examining the sample project that comes with it. I was wondering if it is possible to set a breakpoint in rubymine in one of the files in the ...
0
votes
0answers
91 views

What does this Rails Error mean: “Configuration is not a module (TypeError)”

After a Linux distribution upgrade my installation of ChiliProject (a Rails based project management system/tracker) no longer works. Before the distribution upgrade the server ran a Debian Wheezy ...
0
votes
0answers
14 views

Rubymine debugging breaks request

I'm new to Rails (coming from Java,Python world ) and started using RubyMine to debug an application. I am able to debug however it seems that the request is breaking midway. Part of it completes and ...
0
votes
0answers
100 views

Opening a file in Aptana Studio 3 from command line

I am learning Ruby on Rails using Michael Hartl's railstutorials webcasts. He opens files from command line using Textmate. How can we open a file from command line using Aptana Studio? What is the ...
0
votes
1answer
26 views

Multiple web apps on a laptop friendly way

I have a large collection of mini web apps written in Rails and Sinatra which I constantly use. My objective is to host them in a laptop friendly way. Most of deployment articles I have seen are ...
0
votes
0answers
23 views

After Reinstall of Rails, Cannot Run `rails server`

On my main dev computer, I had had ruby installed from a ppa. I decided to reinstall it with rvm for consistency between computers. To uninstall my current environment, I ran sudo apt-get remove ...
0
votes
0answers
144 views

Rails 2 and Ngnix: https pages can't load css or js (but will load graphics)

ADMISSION: i've posted this same question on stackoverflow, before realising it's probabaly better suited to superuser, but it kind of depends on the answer: If it turns out to be a problem in my ...
0
votes
0answers
133 views

Can't install pg gem on mac os x Lion

Im using Mac OS X 10.7.4 Trying to install pg gem to work with PostgreSQL. Typing: sudo gem install pg Got This answer: Building native extensions. This could take a while... ERROR: Error ...
0
votes
1answer
161 views

How can I programmatically register a file with Redmine?

I'd like to add a file to a Redmine server without going through the graphical interface. I'm making the files available to the Redmine server by a separate svn checkout process, so I just need to be ...
0
votes
0answers
32 views

SSl for a Ruby Website

How to install a SSl certificate for a Ruby website where in the same Linux web server PHP blog is running? Both the primary website(Ruby) "www.example.com" and Blog(php) blog.example.com are running ...
0
votes
0answers
143 views

Spree rails server is too slow for public ip accesses

I installed spree rails server, and I'm running it. When I access it from local lan like "http://192.168.x.x:3000", it's reasonably fast. It takes less than 5 seconds to show the first page. But, if ...
0
votes
0answers
184 views

Discourse won't restart after a server reboot.

I had an instance of Discourse up and running on my Virtual Private Server. I'm configuring the application and all of a sudden mails stop working. In attempt to get mail working I get the bright ...
0
votes
1answer
190 views

Ruby fog installation error

I can't figure out how to fix this error. I install libxml2 and nokogiri is also installed properly. Building native extensions. This could take a while... ERROR: Error installing fog: ERROR: ...