Tagged Questions

Ruby on Rails is an open-source web framework that's optimized for programmer happiness and sustainable productivity. It lets you write beautiful code by favouring convention over configuration. Ruby on Rails website Riding Rails official blog API documentation Rails Guides Rails Source Code Rails ...

learn more… | top users | synonyms

-2
votes
0answers
49 views

My rails app (Redmine) is very slow on hosted server [closed]

I've set up Redmine on a hosted server (BlueHost), but it's pretty slow. What is my cheapest alternative without a huge cost? Do I need a dedicated server?
0
votes
1answer
68 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
0answers
36 views

Getting bandwidth spent by user or by rails application on Ubuntu [migrated]

I'm running multiple rails applications on AWS instance and I need to know how many bandwidth is each application using/wasting. Some of the applications are running with passenger over Apache2 some ...
1
vote
2answers
27 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
48 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 ...
1
vote
3answers
132 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
4answers
30 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
14 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
65 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
2answers
413 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 ...
0
votes
0answers
32 views

Botched Git install

I have been learning Rails with the help of Michael Hartl's tutorial, but I think I messed something up while following his Git installation directions: First, everything works; in fact, I completed ...
1
vote
0answers
33 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 ...
0
votes
0answers
207 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
66 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
105 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 ...
0
votes
1answer
115 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 ...
3
votes
0answers
182 views

How to set the default language in Notepad++ for Rails View files

Similar question to this but my question goes a step further. I'm developing in rails and would like Notepad++ to automatically use html formatting on files with the extension html.erb. For example ...
1
vote
1answer
313 views

Bundle install not working for ubuntu [closed]

every time i run bundle install on my rails app i get the following errors. could it be because i just changed my os from windows to linux(ubuntu) Fetching source index for http://rubygems.org/ ...
0
votes
4answers
66 views

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

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 ...
2
votes
2answers
4k views

How to install the latest version of Ruby and Ruby on Rails in Ubuntu?

I installed Ruby with the command apt-get install ruby1.9.1, but when I enter ruby in the console, nothing happens. I have to use the command ruby1.9.1-v ruby 1.9.2p0 (2010-08-18 revision 29036) ...
0
votes
4answers
114 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
84 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
96 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.
2
votes
2answers
185 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
378 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
163 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
183 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
334 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
141 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
241 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
230 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
3k 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
36 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
102 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
247 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
242 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 ...
1
vote
7answers
536 views

Computer to buy for web-development? [closed]

This might sound like a very silly question by hear out my background: I haven't bought a desktop machine in over 7 years, having used a laptop, school computers, and now a netbook for most of my ...
9
votes
3answers
2k 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!
4
votes
2answers
2k 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
2answers
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 ...
2
votes
2answers
229 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
833 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
267 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 ...
1
vote
5answers
324 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
5answers
3k 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 ...
0
votes
1answer
177 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
64 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
1k 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
2k views

Rails requires Rubygems but I have the gems

Update I notice that which ruby and whereis ruby are 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 patchlevel 174) ...
0
votes
3answers
3k 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 2