Starting to learn Ruby using LRTHW.
At a minimum what should be installed. So coding\compiling could be done in a shell "yum install ruby" did not seem to pull in anything else.
rpm -qa | grep ruby ruby-libs-1.8.7.357-1.fc16.x86_64 ruby-1.8.7.357-1.fc16.x86_64
yum search ruby, a prety long list. But don't know what is needed as yet,
Dne 26.1.2012 11:49, Frank Murphy napsal(a):
Starting to learn Ruby using LRTHW.
At a minimum what should be installed. So coding\compiling could be done in a shell "yum install ruby" did not seem to pull in anything else.
rpm -qa | grep ruby ruby-libs-1.8.7.357-1.fc16.x86_64 ruby-1.8.7.357-1.fc16.x86_64
yum search ruby, a prety long list. But don't know what is needed as yet,
Well this is good beginning. You should be now able to execute ruby code such as "$ ruby foo.rb" or "$ ruby -e "puts 'Hello world!'"".
You might consider installing ruby-irb, which stands for "Interactive Ruby" and it is Ruby's interactive shell.
Finally, if you start to work with ruby more seriously, you would probably need to install "rubygems" library, which allows you to install plethora gems available in rubygem.org or you may prefer to use some gems which are already RPM packages, e.g. "$ sudo yum install rubygem-rails".
Vit
ruby-sig@lists.fedoraproject.org