Hi all! This is as far as I have gotten thus far in the rails development box setup. I've encountered significant difficulty getting PCLinuxOS 2010 working functionally with my notebook thus far, but have not given up yet! This should get you to a full working ruby on rails stack, ready to build your first rails app. My system problems have not gotten as far as configuring the autotest plugin for KDE in PCLinuxOS, which is a tremendous time saver when doing test driven development. Hopefully I get my issues cleared up so I can get everything set up properly. Hope this helps someone out!
1. Install PCLinuxOS
2. Use icon on desktop to install OpenOffice. This will satisfy all of the java requirements for netbeans.
3. Use icon on desktop to enable firewall.
4. Open Menu -> Software Center -> Repository Speed Test. Follow the prompts.
Once the task is complete, Synaptic will open.
5. Select Mark All Upgrades and upgrade the system.
6. Install the following items:
ruby-devel
libsqlite3-devel
workrave
git
libxml++2.6-devel
if installing mysql (not necessarily needed for development)
phpmyadmin
Download latest ruby gems from
http://rubyforge.org/frs/?group_id=126wget http://rubyforge.org/frs/download.php/70696/rubygems-1.3.7.tgz
tar -zxvf rubygems-1.3.7.tgz
cd rubygems-1.3.7
su ( to root )
ruby setup.rb
cd ..
rm rf ruby-1.3.7*
gem install rails mongrel rspec rspec-rails heroku autotest-rails redgreen sqlite3-ruby If you installed the mysql, you'll likely need the mysql gem as well, but due to system issues, I was unable to do so to verify it's functionality. Worst case scenerio, you'd likely have to install some mysql-devel package, but the steps to install the gem are straight forward:
gem install mysql