Comments (3)
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:21:
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:inappviews_preorder_homepage__stats_html_erb__2073994486629224114_25188540'
app/views/preorder/homepage/showdont_tell.html.erb:3:in _app_views_preorder_homepage__show_dont_tell_html_erb__3475623890237893136_28590920'
app/views/preorder/index.html.erb:1:inappviews_preorder_index_html_erb__186831979415567911_28930260'—
Reply to this email directly or view it on GitHub (#79).
from selfstarter.
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.
from selfstarter.
RailsEnv development
from selfstarter.
Related Issues (20)
- Functionality for custom payment option? HOT 1
- jquery-ui update HOT 1
- Bundle install HOT 4
- Depecration Warning during rake db:migrate HOT 2
- Asset path issue in Heroku HOT 1
- How do I use this for my own funding project ?
- Add a service of integrate continuous
- Test suite is failing
- have a problem
- is this still being maintained? HOT 3
- Working App??
- Error on loading page
- undefined method `environment' HOT 2
- Microdonation?! HOT 1
- User specified / flexible contribution amount HOT 1
- How do I build it on a 3rd party hosting platform HOT 2
- file gets downloaded in safari
- selfstarter.us website down "Application Error" HOT 1
- Use as an engine? HOT 1
- RSpec
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from selfstarter.