Re: [CommunityEngine] Heroku assets problem.

2014-05-25 Thread Bruno Bornsztein
You need to add communityengine.js/css to your precompiled assets (in production.rb), or require it from your application.js/css. On Sun, May 25, 2014 at 5:35 AM, Sergei Muzukin muzyuk...@gmail.com wrote: Hello guys. I created simple project and added CE using rails 4. Locally everything

Re: [CommunityEngine] Heroku assets problem.

2014-05-25 Thread Sergei Muzukin
I did that by adding this line: config.assets.precompile += %w( community_engine.css, community_engine.js ) . Didn't help. Maybe something else? -- You received this message because you are subscribed to the Google Groups CommunityEngine group. To unsubscribe from this group and stop

Re: [CommunityEngine] Heroku assets problem.

2014-05-25 Thread Bruno Bornsztein
Is your asset precompilation step completing succesfully when you deply? Can you share your production.rb? On Sun, May 25, 2014 at 7:59 AM, Sergei Muzukin muzyuk...@gmail.com wrote: I did that by adding this line: config.assets.precompile += %w( community_engine.css, community_engine.js ) .

Re: [CommunityEngine] Heroku assets problem.

2014-05-25 Thread Sergei Muzukin
Yes it works. Here it is config/environment/production: Myapp::Application.configure do config.cache_classes = true config.eager_load = true config.consider_all_requests_local = false config.action_controller.perform_caching = true config.assets.js_compressor = :uglifier

Re: [CommunityEngine] Heroku assets problem.

2014-05-25 Thread Joshua
try to run `RAILS_ENV=production rake assets:precompile` then push it to heroku again? On Sun, May 25, 2014 at 7:46 AM, Sergei Muzukin muzyuk...@gmail.com wrote: Yes it works. Here it is config/environment/production: Myapp::Application.configure do config.cache_classes = true