On 10-10-10 02:21 AM, egervari wrote:
Oh, before I read this post, I realized Ubuntu had a safe windows
installer. I used it, and I'm running unbuntu right now. Man, it took
like 15 minutes to download/install everything, and it takes like 8
seconds to boot up after it was done. You'd think windows could get a
quad core to boot that fast after so many years of making better
cpus...
Anyway, I know very little linux. Well, that's not true, I used to use
slackware back in 1995, and I've used it off and on, but it's been
many years.
you sound like me when I got going =P
use sudo to execute command as root, you will need to enter root
password once, you can download software and place it under /opt (i like
to put things there)
here is what you will need to get up and running, the following will
install the build tools and header files you will need to get Ruby &
Rails build from source.
sudo aptitude install build-essential make
sudo aptitude install libc6-dev libssl-dev
sudo aptitude install libreadline6-dev zlib1g-dev libsqlite3-dev
cd /opt
sudo wget ftp://ftp.ruby-lang.org//pub/ruby/1.9/ruby-1.9.2-p0.tar.gz
sudo tar xvzf ruby-1.9.2-p0.tar.gz
cd ruby-1.9.2-p0
sudo ./configure
sudo make
sudo make test
sudo make install
verify you have ruby, gem, irb installed
ruby -v
gem -v
irb -v
now you're ready to install rails
sudo gem install rails
sudo gem install sqlite3-ruby
verify you have rails 3.0.0
rails -v
fyi to keep your ubuntu system up to date type
sudo aptitude update
sudo aptitude safe-upgrade
install other gems you need likewise
quick way to search for gems on a keyword such as 'debug' below:
sudo gem search debug --remote
happy hacking =)
--
Kind Regards,
Rajinder Yadav
--
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.