私はRuby on Railsでherokuを使用してアプリケーションをデプロイしようとしています。それは私のユーザー登録のためのdeviseを使用して簡単なタスクアプリです。私の問題は、私のログが教えてくれるような登録管理者の問題だと思います。Heroku Devitsでデプロイ
> 2016-05-25T17:45:50.379667+00:00 app[web.1]: => Booting WEBrick
> 2016-05-25T17:45:50.379741+00:00 app[web.1]: ^
> 2016-05-25T17:45:50.379749+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:274:in `block in require' 2016-05-25T17:45:50.379740+00:00 app[web.1]: class MyDevise:RegistrationsController < Dev...
> 2016-05-25T17:45:50.379724+00:00 app[web.1]: Exiting
> 2016-05-25T17:45:50.379717+00:00 app[web.1]: => Rails 4.2.5 application starting in production on http://0.0.0.0:22282
> 2016-05-25T17:45:50.379738+00:00 app[web.1]: /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:274:in `require': /app/app/controllers/users/registrations_controller.rb:1:
> syntax error, unexpected tSYMBEG, expecting '<' or ';' or '\n'
> (SyntaxError) 2016-05-25T17:45:50.379722+00:00 app[web.1]: => Run
> `rails server -h` for more startup options
ご協力いただければ幸いです!私は必要な他のファイルを投稿します、私は登録コントローラを変更していないので、今はアクセスできません。 ありがとうございました!
class MyDevise:RegistrationsController < Devise::RegistrationsController
def new
render :new
end
def edit
render :edit
end
end
幸運、@chrishorton? – pdoherty926
構文エラーが修正されましたが、初期化されていない私のdevise定数 – chrishorton