attempting to do a test deployment in passenger/rails, on apache debian 7 On first loading the home page I get the following errors in production.log on each load.
Processing by PreorderController#index as HTML
Rendered preorder/homepage/_value_proposition.html.erb (0.1ms)
Rendered preorder/homepage/_stats.html.erb (4.2ms)
Rendered preorder/homepage/_show_dont_tell.html.erb (6.9ms)
Rendered preorder/index.html.erb within layouts/application (9.1ms)
Completed 500 Internal Server Error in 13ms
ActionView::Template::Error (Could not find table 'orders'):
20:
Have you tried running migrations? (“bundle exec rake db:migrate RAILS_ENV=production”)
On Wednesday, February 5, 2014 at 12:34 PM, Christ Schlacta wrote:
attempting to do a test deployment in passenger/rails, on apache debian 7 On first loading the home page I get the following errors in production.log on each load.
Processing by PreorderController#index as HTML
Rendered preorder/homepage/valueproposition.html.erb (0.1ms)
Rendered preorder/homepage/stats.html.erb (4.2ms)
Rendered preorder/homepage/show_dont_tell.html.erb (6.9ms)
Rendered preorder/index.html.erb within layouts/application (9.1ms)
Completed 500 Internal Server Error in 13ms
ActionView::Template::Error (Could not find table 'orders'):
20:
Thank you @Jarred-Sumner, I found out that passenger has a rails env setting that I had to set to development. It's working now. I'm closing this issue, but hope it'll save someone else similar issues in the future.
attempting to do a test deployment in passenger/rails, on apache debian 7 On first loading the home page I get the following errors in production.log on each load.
Processing by PreorderController#index as HTML Rendered preorder/homepage/_value_proposition.html.erb (0.1ms) Rendered preorder/homepage/_stats.html.erb (4.2ms) Rendered preorder/homepage/_show_dont_tell.html.erb (6.9ms) Rendered preorder/index.html.erb within layouts/application (9.1ms) Completed 500 Internal Server Error in 13ms
ActionView::Template::Error (Could not find table 'orders'): 20:
22:-
23: <%= number_with_delimiter Order.backers, :delimiter => "," %>
24: <%= Settings.primary_stat %>
25:
26: -
app/models/order.rb:70:in
backers' app/views/preorder/homepage/_stats.html.erb:23:in
_app_views_preorder_homepagestats_html_erb2073994486629224114_25188540' app/views/preorder/homepage/_show_dont_tell.html.erb:3:in_app_views_preorder_homepage__show_dont_tell_html_erb__3475623890237893136_28590920' app/views/preorder/index.html.erb:1:in
_app_views_preorder_index_html_erb__186831979415567911_28930260'Have you tried running migrations? (“bundle exec rake db:migrate RAILS_ENV=production”)
On Wednesday, February 5, 2014 at 12:34 PM, Christ Schlacta wrote:
Thank you @Jarred-Sumner, I found out that passenger has a rails env setting that I had to set to development. It's working now. I'm closing this issue, but hope it'll save someone else similar issues in the future.
RailsEnv development