On Oct 6, 2011, at 9:48 AM, Peter Vandenabeele wrote:

2011/10/5 Luís de Sousa <[email protected]>
Hello again,

I managed to get rake db:create to work, it requires the creation of an application with the -d postgresql argument. Nevertheless, it throws a strange message saying that the database already exists. I will move onwards with the tutorial to see if it really works.

I think this issue should be made clear on the tutorial; some basic guidelines on which adapter to use could also be helpful.


I read you use Ubuntu (am I correct ?).

When googling for "install ruby on rails ubuntu"
* the first entry points to a page on help.ubuntu.com that talks about 8.04 and 9.04
* the second entry points to a very short description help.ubuntu.com
* the third page points to a broken page on http://wiki.rubyonrails.org/
* and then we get into private blogs, which may be OK, but are less authorative

I would volunteer to make a proper write-up for Ruby and Rails on Ubuntu 10.04
and/or 11.10 with rvm, ruby 1.9.(2|3), postgresql, etc.

Particularly I would also make clear which extra -dev Debian packages are needed for native compilation when starting from a vanilla Ubuntu (32 bit x86) client machine
install.

That could be similar in style to what I did on my blog for Jaunty (9.04) a few years ago
http://vandenabeele.com/Rails-on-Ubuntu-Jaunty

My goal is to put a correct how-to in the place that is most easily found by newcomers
that are working on Ubuntu.

Maybe most efficient would be to update the number 1 hit that is the Ubuntu help Wiki.

Would this be useful, or is this problem solved and did I just not find the correct pointers by googling? (in that case, I could update the wiki to point there or copy
the correct description on the Ubuntu help Wiki).

Thanks for your feedback,

Peter

tl;dr https://gist.github.com/1261571


At Gaslight Software, we are helping a group at a local high school develop a simple web application and have exactly this same situation.

We went with Ubuntu 10.04 LTS, Ruby 1.9.2, Rails 3.1, and PostgreSQL, but the steps should be the same.

Configuring Ubuntu 10.04 for Rails Development

http://blog.gaslightsoftware.com/post/11027905735/configuring-ubuntu-10-04-for-rails-development

Our time is limited with them so we're only sure that everything gets installed, but we've gotten six ubuntu workstations configured and next week should actually spin up a demo rails app.

-Rob

Rob Biedenharn          
[email protected]     http://AgileConsultingLLC.com/
[email protected]               http://GaslightSoftware.com/

--
You received this message because you are subscribed to the Google Groups "Ruby on 
Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to