#get root access$su -$ cd /tmp#Remove old Ruby$ yum remove ruby# Install dependencies$ yum groupinstall "Development Tools"$ yum install zlib zlib-devel$ yum install openssl-devel$ wget http://pyyaml.org/download/libyaml/yaml-0.1.4.tar.gz$ tar xzvf yaml-0.1.4.tar.gz$ cd yaml-0.1.4$ ./configure$ make$ make install# Install ruby$ wget http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p194.tar.gz$ tar zxf ruby-1.9.3-p194.tar.gz$ cd ruby-1.9.3-p194$ ./configure$ make$ make install# Update rubygems$ gem update --system$ gem install bundler#Test ruby and rubygems are working#Close shell and reopen for changes to take effect$ruby -v$gem --version# Rails$ yum install sqlite-devel$ gem install rails$ gem install sqlite3
Tuesday 1 October 2013
How to Install Ruby & Rails on CentOS, Fedora or RedHat
Subscribe to:
Post Comments (Atom)
How GitHub Advanced Security for Azure DevOps Saves the Day (and Your Reputation)
Let's face it, developers: we've all accidentally committed a secret (or two) to our code repository at some point. Maybe it was a...
-
How To Hide and unhide the hard disk Volumes using CMD Commands : First check how many drives are there in my computer and then s...
-
VMWare Workstation doesn't ship in a deb, so it isn't registered in dpkg (which is why you can't find it in the software center...
-
Issue: You go to activate Microsoft Office 2010 and you receive a message stating, “Your copy of Microsoft Office Professional Plus 2010 ca...
No comments:
Post a Comment