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 ...
0
votes
1answer
16 views
Web Server for SVN+PHP+Django+Rails
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
26 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
0answers
13 views
how to solve unknown action areawise or no route matching areawisesearch.aspx in this? [closed]
in controller.rb
require 'rubygems'
require 'mechanize'
class GoogleController < ApplicationController
def index agent = Mechanize.new
...
0
votes
0answers
9 views
500 => Net::HTTPInternalServerError [closed]
500 => Net::HTTPInternalServerError for http://www.chhattisgarh.bsnl.co.in/(S(hbguo54515o2zbe2p3ndyqut))/directory_services/AreaWiseSearch.aspx?Area=04 -- unhandled response
for
require 'rubygems'
...
0
votes
1answer
36 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
29 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
22 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
62 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
0answers
162 views
mysql - Downgrade MySQL on Ubuntu 11.04
My company is upgrading an old project from Rails 1.2.3 to 2.3. I am trying to get another server set up that will host the original code and MySQL Database to keep track of how we are doing. However, ...
0
votes
1answer
167 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
150 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
69 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 ...
3
votes
2answers
87 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 ...
0
votes
0answers
172 views
Nginx + SSL + Rails + Juggernaut (Node.js) + Engineyard
I have two different applications on the same server. One of them is running on the 80 port (mydomain.com), another on the port 443 (sub.mydomain.com) and has wildcard certificate.
The first ...
0
votes
1answer
233 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"
...
0
votes
0answers
134 views
Error while using rmagick on rails - osx
I am trying to implement rmagick for carrier wave on rails app.
The installation was good, but since then when I try to activate the server I get this error.
Can someone help me understand what is the ...
1
vote
1answer
115 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
78 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
258 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
62 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
81 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
295 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
41 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
18 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
131 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 ...
2
votes
2answers
2k 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
1answer
37 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
88 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
324 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
89 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
171 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
222 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
293 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
478 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
75 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 ...
5
votes
2answers
5k 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
141 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
93 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
2answers
223 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
220 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
462 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
178 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
240 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
447 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
153 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
285 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
264 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
40 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
139 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 ...