Syntax error when starting Rails server, RVM could be the issue?

view full story

http://serverfault.com – I am getting the following error when trying to start my Rails application in production for the first time: /var/www/railsapp/config/initializers/session_store.rb:3: syntax error, unexpected ':', expecting $end ...sion_store :cookie_store, key: '_intranet_session' ^ I have read that this could be an issue with the current ruby version, so I installed RVM and updated the running version. **root@rails ~#** ruby -v ruby 1.8.7 (2010-04-19 patchlevel 253) [i686-linux], MBARI 0x8770, Ruby Enterprise Edition 2010.02 **root@rails ~#** rvm use 1.9.3 Using /usr/local/rvm/gems/ruby-1.9.3-p125 **root (HowTos)