install ruby and rubyonrails on fedora18

[Note] I  installed the fedora18 using live fedora18 liveCD

first login using ‘ su ‘.

if gcc compiler is missing, install gcc first ‘yum install gcc’

yum install ruby

yum -y install rubygems

yum install ruby-devel

yum install irb

yum install ri

yum install rdoc

while rubyonrails installation if you get  ‘javascript runtime environment ‘ message. when i googled someone adviced me to nodejs. nodejs  requires ‘gcc-c++’ , so run – ‘ yum install gcc-c++ ‘ first then continue next step


tar zxvf node-v0.10.13.tar.gz
cd node-v0.10.13

make install

exit su login run ‘ exit ‘, continue installing rubygems with normal user account

gem install sqlite3 -v ‘1.3.7’

gem install sqlite3

gem uninstall sqlite3 -a -x -I

gem install rdoc

gem install rdoc-data

gem install rails

rails server

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s