click for original postNice post by Michael GreenlyI recently changed how I'm handling multiple simultaneous Ruby installations and I'd like to share.What I needed was to make it convenient to switch between the system provided packages and specific, from source, installations. After some experiments I decided to use 'update-alternatives' to do it.Here's a quick walk … Continue reading Working with multiple ruby versions on same server
Category: Ruby on Rails
Ruby 1.8.7 and rails installation on ubuntu interpid
Execute following commands in order to install ruby and rails.sudo apt-get install build-essentialBelow command will install all necessary packages.if you dont want any remove it from command.sudo apt-get install ruby ri rdoc mysql-server libmysql-ruby ruby1.8-dev irb1.8 libdbd-mysql-perl libdbi-perl libmysql-ruby1.8 libmysqlclient15off libnet-daemon-perl libplrpc-perl libreadline-ruby1.8 libruby1.8 mysql-client-5.0 mysql-common mysql-server-5.0 rdoc1.8 ri1.8 ruby1.8 irb libopenssl-ruby libopenssl-ruby1.8 libterm-readkey-perl psmiscGem … Continue reading Ruby 1.8.7 and rails installation on ubuntu interpid
Rails Coding Standards
IN ESSENCE: ALL CODE SHOULD BE READABLE!# DO NOT OPTIMISE for performance - OPTIMISE FOR CLARITY OF CODE# STYLE: use 2 spaces for indent (not tabs)# STYLE: Line up hash arrows for readability# STYLE: put spaces around => hash arrows# STYLE: put spaces after ',' in method params - but none between method names and … Continue reading Rails Coding Standards
