On 4 December 2011 23:02, James Star <[email protected]> wrote:
> Hey everyone,
>
> I am in terminal
>
> Rails 2.3.8 is installed
> Rake 0.9.2.2 is installed
>
> I used sudo apt-get install

That is not the best way of installing rails on Ubuntu.  I think you
are best to use rvm.
See http://beginrescueend.com/
Then install all the stuff you need for rails development, something like

# dependencies for ruby build
sudo apt-get install build-essential bison openssl libreadline6
libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev
libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev autoconf
# extras for mysql gem build
sudo apt-get install libmysql-ruby libmysqlclient-dev
# for nokigiri if required
sudo apt-get install libxslt-dev libxml2-dev

Then install the version of ruby you want within rvm, for example
rvm install 1.9.2

and finally rails
gem install rails

Note the you should not use sudo gem install when using rvm.
Colin

-- 
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