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

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 ...
1
vote
1answer
123 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
422 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: ...
2
votes
1answer
1k views

Vagrant gem install not working

I am new to vagrant and I'm trying to follow a tutorial I found online for setting up an open-source web application. I have installed vagrant successfully. My problem is that when I try to run the ...
0
votes
1answer
151 views

Fix bash_profile to Develop Ruby on Rails Apps

I just installed Ruby and Rails stuff on my machine, and start to learn. But every time I close the Terminal and re-open it, I have to re-type the command . ~/.bash_profile in order to run Rails ...
1
vote
1answer
735 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
3answers
8k views

What's the equivalent of Ubuntu's apt-get command on a Mac

I'm trying to install the Feedzirra gem to do some work with RSS feeds. One documented issue with the installation is the need to install libcurl3-dev to address a common error in the installation ...
1
vote
2answers
781 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 ...
0
votes
1answer
140 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 ...
2
votes
4answers
679 views

Rails - Installation Error

I had used below mentioned commands to install rails in ubuntu 12.10 sudo apt-get update sudo apt-get install curl \curl -L https://get.rvm.io | bash -s stable source ~/.rvm/scripts/rvm rvm ...
0
votes
1answer
295 views

Autotest can't find growl? (Ruby 1.9.3, Rails 3.2.11)

Haven't seen any other errors like this. Autotest is complaining it can't find Growl even though it's installed. Tried uninstalling/reinstalling everything with sudo. Everything is up-to-date. This is ...
0
votes
1answer
418 views

How to install Linux on VMware with Windows 7 Premium Host

I have an ASUS laptop with 6 GB RAM, Windows 7 64-Bit m/c. I followed this to install VMware, Linux: Installing VM (with Ubuntu + RVM + Ruby + Rails) on my Windows 7 system VMware (which has been ...
0
votes
1answer
53 views

Setting PostgresSQL for my VPS

I am about to deploy my app to a vps for the first time, and running into some issues while configuring my DB. After running the following commands... # PostgreSQL add-apt-repository ...
-1
votes
1answer
238 views

tab complete not working for vim in particular directory - ubuntu 12.04

I am working on a ruby on rails app. All of the sudden the command line tab complete stopped working for vim, only for files though, and only for the vim command (i.e. works for other commands, ls, ...
2
votes
1answer
663 views

(-bash: initdb: command not found) When installing postgres mac

I get the following error (-bash: initdb: command not found) in the terminal when trying to install postgres on my mountain lion mac osx? Also, does any one have a good resource for installing ...
2
votes
3answers
2k views

How install gem rails for all users in arch-linux

When install rails with sudo gem install rails or with root user, this install in $HOME/.gem and only works for actual user, how install for all users in the system ?
0
votes
1answer
345 views

I cannot get pg-0.14.0 gem installed after Mountain Lion install

I have been trying for some time now to get my Rails development environment back up since I upgraded from Lion to Mountain Lion. The problem is specifically installing the pg-0.14.0 (postgresql) gem. ...
1
vote
1answer
239 views

Gemfile template

I'm trying to modify the default gemfile template on debian, and it doesn't seem to be anywhere to be found. Is this found somewhere on the system called "Gemfile" or is it located in another ...
1
vote
0answers
287 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 ...
3
votes
1answer
827 views

Why does Xcode have anything to do with installing Rails?

I replaced a broken logic board on my MacBook Pro and have OS X Snow Leopard reinstalled without XCode. I installed gems successfully without running into any errors, but when I tried installing ...
1
vote
1answer
166 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 ...
0
votes
1answer
225 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: ...
1
vote
1answer
268 views

Showing Directory Root When Launching Rails App Using Apache2 and Passenger

I have done the following in an attempt to host a Rails 3.2.3 application using Apache 2.2.21 and Passenger 3.0.13: Installed gem Passenger rvmsudo passenger-install-apache2-module Added website ...
0
votes
1answer
599 views

Fetch _all_remote_specs: undefined method 'list' - Rails on Mac OSx Lion

I'm trying to create a new rails application on my Mac running Lion. I installed Rails using RubyGems. I also went ahead and installed the XCode command line tools. When I attempt to create a new ...
2
votes
1answer
527 views

websites resolving in browser but not resolving in CLI. Can ping IP but not domain name (unknown host)

Hi guys I'm currently developing using rails and for some reason bundle install is returning the following output Error Bundler::HTTPError during request to dependency API Fetching full source index ...
-1
votes
1answer
189 views

Web Server for SVN+PHP+Django+Rails [closed]

Foreword: I am not asking for the differences between Nginx and Apache, nor do I want to start a "which one is better discussion. I would like to ask for help with choosing the most adequate solution ...
0
votes
1answer
224 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 ...
1
vote
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 ...
1
vote
1answer
537 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
211 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
369 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' ...
0
votes
1answer
1k views

How can I avoid permission denied errors when attempting to deploy a rails app with capistrano?

Total noob here. I'm attempting to deploy an app through Capistrano. I'm getting relentless permission denied errors when I attempt to run cap deploy:update. Seemingly at least some of these errors ...
1
vote
2answers
756 views

Can a web server and XBMC HTPC co exist happily? [closed]

I have a machine that is currently dedicated to running my home theatre. It is way more powerful than it needs to be, and spec wise would have no problem running both a few websites and an HTPC What ...
2
votes
1answer
410 views

Accessing my Rails webrick behind proxy?

In my mackbook, when I try to connect to my rails application in office I can't , in the office there are some http proxy , and when I run my rails like this : sudo rails s -p8080 => Booting ...
4
votes
2answers
220 views

Why does bash sometimes think my $HOME isn't the correct directory?

Like the title says it seems that bash sometimes misidentifies my $HOME. This cropped up after a seemingly unique series of events that I will now replay in broad strokes. Running OS X 10.6 with ...
1
vote
2answers
1k views

sublime 2 rails multi line comments key command

when coding ruby in sublime text 2, are their key commands for multi line commentS? class Myclass include MyMethods def instance_method puts "hi from the instance method" ...
2
votes
1answer
549 views

Virtualbox two networks slow

I am running an Ubuntu server guest on Win 7 guest, and am running a webrick server (RoR dev). If I have just a host-only network, everything works fine and the browser response is instant. However, ...
0
votes
1answer
354 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 ...
1
vote
1answer
2k views

How to set a gemset as default in RVM?

I'm using RVM in my OS X machine, I use ruby 1.9.2 by default with RVM. Each time I create a terminal session I have to type "rvm gemset use rails_app", to use my gemset … I would like "rails_app" ...
1
vote
2answers
206 views

How can I update Ruby and Rails on MacOS 10.6?

I just got a Macbook laptop that is running 10.6.3 AKA "Snow Leopard". I know it comes with Ruby 1.8.7 and Rails 2.3, but I was wondering what the best way is to update those to Ruby 1.9.2 and Rails ...
0
votes
1answer
174 views

Host OS slow to find web brick server running on linux as guest OS in VirtualBox

I am running VirtualBox 4.1.6 on Windows 7 on fairly quick machine with 12G of ram. I have a virtual machine running Ubuntu 11 on which I am doing rails development using ruby 1.9.3 and rails 3. When ...
2
votes
3answers
2k views

Cannot connect to WEBrick on home network

I'm an Android developer and often my applications require server-side code. I typically use Ruby on Rails for the web app, and during development will run the server on my local machine (Mac OS X) ...
0
votes
1answer
349 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.
2
votes
0answers
22 views

Can I work on a Rails project in a directory other than C:\Sites on Windows?

I'm a beginner to Rails. I installed Rails using RailsInstaller for Windows. Is C:\Sites\ a magic directory path or can I still use the Rails framework in a directory like ...
1
vote
1answer
421 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 ...
4
votes
2answers
12k views

(13)Permission denied: make_sock: could not bind to address [::]:80, Mac OS Lion

I was trying to get passenger to work on my home computer and ran into this problem. I get this error when I try to start Apache. (13)Permission denied: make_sock: could not bind to address [::]:80 ...
1
vote
0answers
327 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
1k views

Redmine installation issues rake command issue, MySQL database issue?

I have somewhat of a complex issue involving several different programs including redmine, MySQL, Ruby, Ruby on Rails etc. This is on Windows XP. I am following the redmine instructions here: ...
1
vote
1answer
122 views

Upgrading Rails Dev Unit from Snow Leopard to Lion

Should I take any considerations for my Rails 3.0/3.1, Ruby 1.9.2 development machine running OS X 10.6 Snow Leopard before upgrading to OS X 10.7 Lion? Will there be anything that I need to ...
3
votes
3answers
1k views

Where can I find the rails executable in Debian?

I am having a problem with my installation of Ruby/Rails on Debian. I've installed Ruby 1.9.1(1.9.2) using the package manager and I've created links to ruby1.9.1 and whatnot to allow me to use the ...