Question

Here's another Rails-on-Dreamhost installation error.

  • Used DH's own "getting started" wiki page. No issue getting initial "Welcome aboard" message.
  • Local app created using mysql. Gems frozen during creation. DBs created on Dreamhost w/o apparent issue.
  • Used "bundle install" / "bundle package" on DH get gems into correct locations
  • Downgraded the rake gem to v0.8.7 to solve first hiccup.
  • Rack complained on startup: "...config/initializers/session_store.rb:3: syntax error, unexpected ':', expecting $end"
  • session_store.rb shown below. Untouched from original build: App02::Application.config.session_store :cookie_store, key: '_app02_session'

Ideas?

Was it helpful?

Solution

It looks like you're using Ruby less than 1.9 which doesn't support the new hash key syntax: { key: value }. Upgrade to Ruby 1.9+ and that should fix your issue.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top