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
4answers
584 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
1answer
115 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 ...
1
vote
2answers
816 views

How to install Rails on an EC2 server?

I have installed Rails on my localhost, and now, I would like to install it on an Amazon EC2 server.
4
votes
2answers
727 views

How to make TAR to not save the directory hierarchy

system("tar -czf #{RAILS_ROOT}/tmp/export-result #{RAILS_ROOT}/tmp/export") When I decompress the resulting file I get app/c3ec2057-7d3a-40d9-9a9d-d5c3fe3ffd6f/home/tmp/export/and_the_files I ...
0
votes
2answers
597 views

Problem updating ruby 1.8.7 to 1.9.2 on cygwin

I am trying to update my ruby in cygwin from 1.8.7 to 1.9.2.I have pasted the ruby-1.9.2-p136.tar.gz into the required folder in the home directory.After that i entered this command. tar xvf ...
0
votes
2answers
214 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 ...
1
vote
1answer
405 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
3answers
1k views

Mainstream Linux on 1GB HDD

I've decided to start learning Linux + Ruby + RoR (Ruby on Rails). The problem is the only personal computer I have is a laptop with 1GB flash card and I can't afford to buy more hardware right now. ...
0
votes
2answers
190 views

Is an eee-pc with an Atom N550 dual core OK for Rails 3 development?

I'm buying an Asus eee-pc 1015PEM and hope to do test-driven Rails 3 development on it. Is the CPU fast enough or too painfully slow for this? I plan on installing Ubuntu. I currently develop on a 11 ...
1
vote
2answers
592 views

What's the typical latency for key strokes using an ssh connection on a local wifi network?

I develop software on a Macbook Air 1.6 Ghz but find running Rails test suites and generators on this computer very slow. I'm thinking about buying a Linux tower to put on my local wireless network to ...
0
votes
1answer
484 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
3answers
4k views

How to install Ruby 1.9.2 and Rails 3 on Ubuntu 10.10?

I have gone through a lot of blogs and tutorials (including Beginning Rails 3) and now I have a messed up Ubuntu (It runs on VMWare) that I do not like it. Main problem is that based on Beginning ...
1
vote
1answer
51 views

How do I mark a user as admin in mysql

I am building a ruby on rails application using mysql for storing application related data. My application has a user console and admin console. Access to admin console is restricted to ...
2
votes
1answer
391 views

How to do successive commits into github repository?

I already did my first commit into github. But now I have checked out the already committed repository using 'git clone <repo name>'. Now after updating my code I want to commit back the new ...
0
votes
2answers
732 views

cron job not working

It is little weird now that cron job is not working as i have set. I have set weekly job to send email but i am receiving multiple emails daily. Below is my code; # sends email every monday at 4:00 ...
0
votes
2answers
372 views

Trying to use rails: Load Error (no such file…)

I have just installed rails and am working my way through the tutorial on railstutorial.org. In CH2 where you set up the basic app, after I generate the scaffold for the users and I try to load the ...
43
votes
3answers
27k views

gem install rails doesn't do anything

I installed Ruby and RubyGems on Ubuntu 10.04. Ruby is version 1.8.7. Gems is version 1.3.7. When I try sudo gem install rails, nothing happens. It just hangs forever. What am I missing? Thanks!
5
votes
2answers
3k views

Readline problems installing Ruby with RVM

I'm struggling with rvm. This isn't the first time I've installed rvm, and it isn't the first time I've had problems with it, but this problem is proving to be a right pain; and all of the articles ...
4
votes
3answers
2k views

Heroku on Ubuntu 10.04 (RVM with 1.9.2)

so I'm trying to install heroku and when I run it I get the following message: /home/brian/.rvm/gems/ruby-1.9.2-p0@seniorproject/gems/rest-client-1.4.2/lib/restclient.rb:9:in `rescue in <top ...
9
votes
2answers
968 views

Install packages through apt-get or gem?

If a package is available both through apt-get and gem, which one should I choose? I'm on Ubuntu and I don't know if I should install rake through apt-get or gem. I use both apt-get and gem packages ...
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
2answers
305 views

Installing Heroku on Lucid Lynx reveals missing dependencies

I am trying to get a Ruby on Rails app hosted free somewhere, and Heroku is looking like my last resource. It is supposed to work on Linux, and the gem installs with no errors, but whenever I run any ...
2
votes
5answers
711 views

Ubuntu desktop through pen drive for rails development

I am window user and .net web developer. I am trying hands in ruby and "ruby on rails". Everybody suggests me to use OSx or Linux. Can i install Ubuntu on "pen drive" and use as development machine ...
1
vote
4answers
5k views

Installing Ruby on Rails on Ubuntu 10.04: A Living Nightmare

Update #3: Starting over from scratch, shortened this post, decided to re-install a clean copy of Ubuntu 10.04 on a VM and go through the walk-through again. So, all the steps go without a hitch. As ...
1
vote
1answer
242 views

Textmate rails bundle

Normally when working inside a Ruby on Rails view file, I can hit CTRL + SHIFT + . to get open/close tags for rails like so: <%= selection %> I'm not sure how, but yesterday this ...
0
votes
1answer
97 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 ...
1
vote
3answers
2k views

Is VirtualBox really slow compared to the host OS? (for Ruby development)

I have VirtualBox running Ubuntu as a guest environment on my Macbook Pro running Leopard OS X 10.5. I timed the same batch of Ruby on Rails unit tests on both systems. The difference seems to be ...
1
vote
2answers
3k views

Rails requires Rubygems but I have the gems

Update: I noticed that which ruby and whereis ruby reports back different locations: which ruby /opt/local/bin/ruby whereis ruby /usr/bin/ruby I recently upgraded ruby to ruby 1.8.7 (2009-06-12 ...
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 $ ...
1
vote
1answer
532 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 ...
1
vote
1answer
450 views

How to improve the way I use Textmate for Ruby on Rails, HTML and Javascript?

I use the latest version of textmate for all my Rails development needs and I feel that I'm under-using the possibilities or this software since I only installed the ruby on rails bundle and use ...