Richard's Diary

Sunday, November 16, 2008

Backup Laptop Spent the last few days setting up my new laptop which would function as a backup to my current development production laptop. Once it fully works, I intend to migrate to it. I documented the steps needed to bring that laptop up to production but haven't completed all the steps yet.

  1. Installed OpenSUSE 11 64bit with 2.6.25 kernel
  2. install make via yast
  3. install gcc via yast
  4. install postgres client/server/docs and source (because source will be needed for postgres ruby gem)
  5. ruby 1.8.6 was already installed (make sure rdoc is installed)
  6. install java 1.6 dev edition via yast
  7. Version control - since rubygems and other core infrastructure gems outside of rails (like postgres, soap4r, etc.) are unlikely to flake and need customization, they can be outside of source control
  8. Sudo - it is better to preface a command with sudo, because it is a matter of an intentional command being executed and logged vs. unfettered access that is susceptible to typos and unintended consequences, I decided not to change
    1. a core linux directory's permissions /usr/lib, /usr/local
    1. a core directory's user or group owner.
  9. rubygems was installed to default location after downloading tar, untarring and sudo ruby setup.rb
    1. unpacking adwords4r gem to vendor/gems and adding the library to the rails load path, makes the app use the vendored version
  10. sudo gem install rails
  11. sudo gem install mongrel
  12. sudo gem install soap4r, postgres, ferret,rcov (I wasn't able to see rake tasks until all gems were installed and rcov was missing. how did rake know there was rcov? presumably because of vendor/plugins directory?)
  13. install eclipse by downloading tar and untarring and just running binary
  14. install aptana studio by adding repository in eclipse
    1. install radrails by adding feature
    2. configure ruby interpreter, add SVN menubar, add views to perspective
  16. until such time as there is a good git eclipse plugin, use subversion
    1. install subversive client
    2. install svn connector by adding remote repo SVN Connector
    3. install subversion via yast since there aren't free, trustworthy, svn hosts for non-open source projects

© 2010 Picky Ricky, Inc. originalblog