Saturday, May 1, 2010

Install Ruby and FXRuby in Fedora 12

To install Ruby

# yum install ruby

To install irb (interactive console for Ruby)

# yum install irb

To install RubyGems (this is required to install FXRuby as it is a "gem")

# yum install rubygems

To install FXRuby

# gem install fxruby

If everything returns no error, then you have successfully installed everything. The reason you have to install "irb" and "RubyGems" separately is because Fedora 12 repository has Ruby 1.8.6 not 1.9.X. Happy coding!