So i'm quite new to rails and such and I've been trying to install this for the past few hours and have been getting the following error when trying to run rails s, or if I try to install it with rails g forem:install
/usr/lib64/ruby/gems/1.8/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:245:in `load': /home/forem/config/initializers/session_store.rb:3: syntax error, unexpected ':', expecting $end (SyntaxError) ...sion_store :cookie_store, key: '_forums_session' ^ from /usr/lib64/ruby/gems/1.8/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:245:in
load' from /usr/lib64/ruby/gems/1.8/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:236:inload_dependency' from /usr/lib64/ruby/gems/1.8/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:245:inload' from /usr/lib64/ruby/gems/1.8/gems/railties-3.2.11/lib/rails/engine.rb:588 from /usr/lib64/ruby/gems/1.8/gems/railties-3.2.11/lib/rails/engine.rb:587:ineach' from /usr/lib64/ruby/gems/1.8/gems/railties-3.2.11/lib/rails/engine.rb:587 from /usr/lib64/ruby/gems/1.8/gems/railties-3.2.11/lib/rails/initializable.rb:30:ininstance_exec' from /usr/lib64/ruby/gems/1.8/gems/railties-3.2.11/lib/rails/initializable.rb:30:inrun' from /usr/lib64/ruby/gems/1.8/gems/railties-3.2.11/lib/rails/initializable.rb:55:inrun_initializers' from /usr/lib64/ruby/gems/1.8/gems/railties-3.2.11/lib/rails/initializable.rb:54:ineach' from /usr/lib64/ruby/gems/1.8/gems/railties-3.2.11/lib/rails/initializable.rb:54:inrun_initializers' from /usr/lib64/ruby/gems/1.8/gems/railties-3.2.11/lib/rails/application.rb:136:ininitialize!' from /usr/lib64/ruby/gems/1.8/gems/railties-3.2.11/lib/rails/railtie/configurable.rb:30:insend' from /usr/lib64/ruby/gems/1.8/gems/railties-3.2.11/lib/rails/railtie/configurable.rb:30:inmethod_missing' from /home/forem/config/environment.rb:5 from /usr/lib64/ruby/gems/1.8/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:251:inrequire' from /usr/lib64/ruby/gems/1.8/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:251:inrequire' from /usr/lib64/ruby/gems/1.8/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:236:inload_dependency' from /usr/lib64/ruby/gems/1.8/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:251:inrequire' from /usr/lib64/ruby/gems/1.8/gems/railties-3.2.11/lib/rails/application.rb:103:inrequire_environment!' from /usr/lib64/ruby/gems/1.8/gems/railties-3.2.11/lib/rails/commands.rb:25 from script/rails:6:inrequire' from script/rails:6
So is there something I'm missing here or...?
The one that I downloaded is this one: https://github.com/radar/forem.heroku.com
/home/forem/config/initializers/session_store.r? - Siwei# Be sure to restart your server when you modify this file. Forums::Application.config.session_store :cookie_store, key: '_forums_session' # Use the database for sessions instead of the cookie-based default, # which shouldn't be used to store highly confidential information # (create the session table with "rails generate session_migration") # Forums::Application.config.session_store :active_record_store- Frankrd3ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]- Frankrd3