Archive for the ‘Ruby’ Category

May
03
2009

Install Ruby, Rails, RadRails on CentOS, Fedora

Installing Ruby, Rails on CentOS
Installing Ruby on Rails involves using yum to first install ruby and then to install ruby docs, irba followed by rails installation.
$ yum install -y ruby
$ yum install -y ruby-devel ruby-docs ruby-ri ruby-irb ruby-rdoc
$ gem install rails –include-dependencies
(more…)

  • Share/Save/Bookmark
May
02
2009

Repository: How to configure yum repos?

To make automatic download and installation by using “yum” you can create/add the repo to /etc/yum.repos.d/.

Then create file with .repo extension to do an automatic yum update at later stage
vi /etc/yum.repos.d/reponame.repo

Below is the content to RubyForge yum repo. Save the content as “rubyforge.repos” under “/etc/yum.repos.d”

[rubyforge]
name=RubyForge
baseurl=http://rubyworks.rubyforge.org/redhat/$releasever/RPMS/$basearch
enabled=1
gpgcheck=1
gpgkey=http://rubyworks.rubyforge.org/RubyWorks.GPG.key
priority=1

  • Share/Save/Bookmark