No matter what platform you are on installing Rails can be a bit tricky and there are many ways to do so. Here I will outline what I have found to be the most effective approach.
- open up a teminal and run sudo aptitude install ruby ruby-dev rubygems rails mongrel libgemplugin-ruby libsqlite3-ruby libmysql-ruby1.8 git-core libgit-ruby1.8
- Then issue this command sudo gem install cgi_multipart_eof_fix fastthread linecache ruby-debug-base ruby-debug-ide
You’ll notice many gems were installed via APT. The purpose of doing so is the same purpose as to why APT exists, to avoid the troubles compiling things on your own and even though gems have their own package manager it can only detect gem dependencies which does,t help when it comes to compiling natively, which I am sure some of you reading this are well aware of.
Well pretty easy since both package managers allows for installation of many through a single command.
