Comments (2)
There are two solution here, the first of which is on Heroku which is why it wasn't added here. You either need to turn on user-env-compile on heroku by issuing
heroku labs:enable user-env-compile
or by adding the following line to production.rb
config.assets.initialize_on_precompile = false
Going to close this, but feel free to reopen if you still have issues.
from prelaunchr.
Using what Daniel wrote above did not work for me.
I followed the instructions suggested by @adamnbowen in #25 from Heroku's guide to deploying a Rails3 app https://devcenter.heroku.com/articles/getting-started-with-rails3 and got it to work:
Add this to config/application.rb
, not in config/environments/production.rb
:
config.assets.initialize_on_precompile = false
I also had to edit the procfile to match the one presented in the tutorial, ensure unicorn gem was added, and make sure no sqlite3 gem. This allowed me to deploy this Rails 3.2.13 app (updated app from 3.2.11 to 3.2.13 to get rid of the Formtastic warning).
from prelaunchr.
Related Issues (20)
- requirements for the prelaunchr? HOT 12
- Setting up mail? HOT 4
- A question about collected emails. HOT 3
- Responsive design HOT 1
- Precompilation fails HOT 7
- All in one HOT 1
- Source does not contain any versions of 'prelaunchr (>= 0) ruby' HOT 1
- config.ended HOT 1
- Filter is showing direct object name instead of email
- Working App??? HOT 7
- Getting to user dashboard after signup
- Bundle does not execute
- I just download The ruby the new one thus it go with that?
- Can I use this kind of concept in any other Language ? HOT 2
- How to change json version for prelaunchr? HOT 4
- Deployed on Heroku but It shows nothing in the browser... HOT 2
- 500 Error when visiting dev server HOT 5
- Mailchimp,mailgun,sengrid integrated in it?
- image precompile issues HOT 1
- Detecting visitor IP HOT 4
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 prelaunchr.