Я не могу заставить рельсы генерировать контроллер
Я рубин 1.9.3 и рельсы 3.1
Я пытаюсь сгенерировать контроллер с этим синтаксисом:
$rails generate controller sessions new create failure
но ответьте мне с этой ошибкой:
/Users/Uriel/.rvm/gems/ruby-1.9.3-head@omniauth/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:234:in
load': /Users/Uriel/Documents/Uriel/omniauth/config/initializers/omniauth.rb:2: syntax error, unexpected tIDENTIFIER, expecting keyword_end (SyntaxError) from /Users/Uriel/.rvm/gems/ruby-1.9.3-head@omniauth/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:234:in
заблокировать загрузку 'из /Users/Uriel/.rvm/gems/ruby-1.9.3-head@omniauth/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:223:inblock in load_dependency' from /Users/Uriel/.rvm/gems/ruby-1.9.3-head@omniauth/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:640:in
new_constants_in 'из /Users/Uriel/.rvm/gems/ruby-1.9.3-head@omniauth/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:223:inload_dependency' from /Users/Uriel/.rvm/gems/ruby-1.9.3-head@omniauth/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:234:in
загрузить 'из /Users/Uriel/.rvm/gems/ruby-1.9.3-head@omniauth/gems/railties-3.1.0/lib/rails/engine.rb:555:inblock (2 levels) in <class:Engine>' from /Users/Uriel/.rvm/gems/ruby-1.9.3-head@omniauth/gems/railties-3.1.0/lib/rails/engine.rb:554:in
каждый 'из /Users/Uriel/.rvm/gems/ruby-1.9.3-head@omniauth/gems/railties-3.1.0/lib/rails/engine.rb:554:inblock in <class:Engine>' from /Users/Uriel/.rvm/gems/ruby-1.9.3-head@omniauth/gems/railties-3.1.0/lib/rails/initializable.rb:25:in
instance_exec 'из /Users/Uriel/.rvm/gems/ruby-1.9.3-head@omniauth/gems/railties-3.1.0/lib/rails/initializable.rb:25:inrun' from /Users/Uriel/.rvm/gems/ruby-1.9.3-head@omniauth/gems/railties-3.1.0/lib/rails/initializable.rb:50:in
заблокировать в run_initializers'из /Users/Uriel/.rvm/gems/ruby-1.9.3-head@omniauth/gems/railties-3.1.0/lib/rails/initializable.rb:49:ineach' from /Users/Uriel/.rvm/gems/ruby-1.9.3-head@omniauth/gems/railties-3.1.0/lib/rails/initializable.rb:49:in
run_initializers'из /Users/Uriel/.rvm/gems/ruby-1.9.3-head@omniauth/gems/railties-3.1.0/lib/rails/application.rb:92:ininitialize!' from /Users/Uriel/.rvm/gems/ruby-1.9.3-head@omniauth/gems/railties-3.1.0/lib/rails/railtie/configurable.rb:30:in
method_missing 'из /Users/Uriel/Documents/Uriel/omniauth/config/environment.rb:5:in<top (required)>' from /Users/Uriel/.rvm/gems/ruby-1.9.3-head@omniauth/gems/railties-3.1.0/lib/rails/application.rb:78:in
require 'from /Users/Uriel/.rvm/gems/ruby-1.9.3-head@omniauth/gems/railties-3.1.0/lib/rails/application.rb:78:inrequire_environment!' from /Users/Uriel/.rvm/gems/ruby-1.9.3-head@omniauth/gems/railties-3.1.0/lib/rails/commands.rb:22:in
'из сценария / рельсы:6: вrequire' from script/rails:6:in
'
Спасибо!:)