Monday, December 15, 2008

so i wanna code in ruby.
when i first tried to installed ruby & RoR, i installed on windows.
macam2 hal.altho it says ruby is cross platform, still it doesnt support everything.
like for example mysql dont go well with rubygems and so on.
a sifu told me that if u wanna stick with windows, it is better to use sqlite3. but sqlite3 is not good for live production. mysql is. so what u need to do is, continue use sqlite3. but on the server, install mysql and use an adapter and set it as sqlite3.

but then i converted to ubuntu as vista drove me nuts with all the credentials and slowness and so on.
so heres how i install ruby and ruby on rails on ubuntu.

first and foremost, open a terminal...and start installing...

wget http://rubyforge.org/frs/download.php/38646/rubygems-1.2.0.tgz
tar xzvf rubygems-1.2.0.tgz
cd rubygems-1.2.0
sudo ruby setup.rb
sudo ln -s /usr/bin/gem1.8 /usr/bin/gem
sudo gem update --system


refer link

No comments:

Post a Comment