Ruby version configuration is done in deploy.rb along with other configuration, prior to including the install file. Also, 'ruby1.8' isn't a valid value for `ruby_version`. You would just use '1.8', as in the ruby language installer it concatenates 'ruby' with the provided version and `apt-get install`s it.