I inherited a quite convoluted RoR app. In attempting to "push" it to OpenShift, I am getting the error.
"An ActionView::Template::Error occurred in sessions#new:"
/var/lib/openshift/5511f14a4382ec4c2e000030/app-root/runtime/repo vendor/bundle/ruby/1.9.1/gems/grit-2.5.0/lib/grit/repo.rb:51:in `initialize'
I have been working on this for 3 days now. The same application works fine on my local Unbuntu 14.04 machine. The gemfile versions are the same on my machine as on the OpenShift server.
When I attempt to access my app -- (NOTE there are not blank lines on my screen. I had to do this for readability purposes on this post) :)
Started GET "/" for 127.5.108.129 at 2015-03-26 17:00:00 -0400
Processing by DashboardController#index as HTML
Redirected to http://ift.tt/1bywQSR
Filter chain halted as :require_login rendered or redirected
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
Started GET "/login" for 127.5.108.129 at 2015-03-26 17:00:00 -0400
Processing by SessionsController#new as HTML
Rendered layouts/_messages.html.erb (0.2ms)
Rendered sessions/new.html.erb within layouts/application (2.4ms)
Completed 500 Internal Server Error in 8ms
Rendered vendor/bundle/ruby/1.9.1/gems/exception_notification- 4.0.1/lib/exception_notifier/views/exception_notifier /_request.text.erb (0.3ms)
Rendered vendor/bundle/ruby/1.9.1/gems/exception_notification- 4.0.1/lib/exception_notifier/views/exception_notifier/_title.text.erb (0.1ms)
Rendered vendor/bundle/ruby/1.9.1/gems/exception_notification- 4.0.1/lib/exception_notifier/views/exception_notifier /_session.text.erb (0.6ms)
Rendered vendor/bundle/ruby/1.9.1/gems/exception_notification- 4.0.1/lib/exception_notifier/views/exception_notifier/_title.text.erb (0.0ms)
Rendered vendor/bundle/ruby/1.9.1/gems/exception_notification- 4.0.1/lib/exception_notifier/views/exception_notifier /_environment.text.erb (2.6ms)
Rendered vendor/bundle/ruby/1.9.1/gems/exception_notification- 4.0.1/lib/exception_notifier/views/exception_notifier/_title.text.erb (0.0ms)
Rendered vendor/bundle/ruby/1.9.1/gems/exception_notification- 4.0.1/lib/exception_notifier/views/exception_notifier /_backtrace.text.erb (0.1ms)
Rendered vendor/bundle/ruby/1.9.1/gems/exception_notification- 4.0.1/lib/exception_notifier/views/exception_notifier/_title.text.erb (0.0ms)
Rendered vendor/bundle/ruby/1.9.1/gems/exception_notification- 4.0.1/lib/exception_notifier/views/exception_notifier /exception_notification.text.erb (8.5ms)
I have tied a knot in the end of my rope, but it is starting to fray. Pretty soon it will be a frayed knot.
Thanks all! Pod
Aucun commentaire:
Enregistrer un commentaire