Kedar M. wrote:
To go one step farther, I would recommend installing RubyGems from
source and then installing Rails through RubyGems. Much better
On Jan 18, 7:24ï¿½pm, “Jeremy McAnally” email@example.com
Maybe then http://wiki.rubyonrails.org/rails/pages/Installation should
prefer RubyGems installation to “apt-get install ruby” (i.e. swap the
I think Ubuntu screws this up further because apparently their rails
script does not identify -d mysql to mean database to use. Instead, it
treats it as a folder, apparently, for example, if I did:
$> rails -d mysql people => this rails is from apt-get
I get two folders created: “mysql” and “people”.
Instead, if I installed RubyGems and did gem update --system and then
used the rails from there, it works better. Unfortunately, this rails
script is located in /var/lib/gems/1.8/bin and the Ubuntu (faulty)
script is in /usr/bin. So, I need to use /var/lib/gems/1.8/bin/ before
/usr/bin in my PATH!
I think the community should be aware of this.