したがって、私はレールなどにまったく慣れておらず、過去数時間これをインストールしようとしていて、実行しようとすると次のエラーが発生しますrails s
。rails g forem:install
/usr/lib64/ruby/gems/1.8/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:245:「ロード」: /home/forem/config/initializers/session_store.rb:3: 構文エラー、予期しない ':'、$end を期待 (SyntaxError) ...sion_store :cookie_store、キー: '_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:in
load' 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:in
/usr/lib64/ruby/gems/1.8/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:245:in eachから「load_dependency」、/usr/lib64/ruby/gems/1.8/gems/railties から「 それぞれ」 -3.2.11/lib/rails/engine.rb:587 から /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:in
run' から /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:in
each' 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:in
initialize!' /usr/lib64/ruby/gems/1.8/gems/railties-3.2.11/lib/rails/railtie/configurable.rb:30:in よりsend' from /usr/lib64/ruby/gems/1.8/gems/railties-3.2.11/lib/rails/railtie/configurable.rb:30:in
method_missing から /home/forem/config/environment.rb:5 から /usr/lib64/ruby/gems/1.8/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:251:requirerequire' from /usr/lib64/ruby/gems/1.8/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:251:in
で / から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:in
require' 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:in
require' from script/rails:6
ここで私が見逃しているものはありますか...?
私がダウンロードしたものはこれです:https://github.com/radar/forem.heroku.com