Thanks I see I missed the last s in assets when I tried running it before. Works now with "config.assets.compile = false"
John. On Tuesday, December 17, 2013 4:44:59 AM UTC-5, Paweł Pierzchała wrote: > Hi John, > it will be highly inefficient to compile asset on the fly. Please run: > RAILS_ENV=production bundle exec rake assets:precompile > It will build and cache all the assets. > > > > > Cheers, > Pawel > > > > On Mon, Dec 16, 2013 at 5:45 PM, John Aylward <[email protected]> wrote: > > > I was able to get gitorious to run by updating > config/environments/production.rb and changing: > > config.assets.compile = false > > to > > config.assets.compile = true > > > > > > On Monday, December 16, 2013 11:38:24 AM UTC-5, John Aylward wrote: > > > I've tried running "bundle exec rake --trace asset:precompile > > RAILS_ENV=production" but it's not taking that: > > > Failed loading some test dependencies: cannot load such file -- > > ci/reporter/rake/minitest > > > rake aborted! > > > Don't know how to build task 'asset:precompile' > > > /opt/gitorious-3/vendor/cache/ruby/1.9.1/gems/rake-10.1.0/lib/rake/task_manager.rb:49:in > > `[]' > > > /opt/gitorious-3/vendor/cache/ruby/1.9.1/gems/rake-10.1.0/lib/rake/application.rb:148:in > > `invoke_task' > > > /opt/gitorious-3/vendor/cache/ruby/1.9.1/gems/rake-10.1.0/lib/rake/application.rb:106:in > > `block (2 levels) in top_level' > > > /opt/gitorious-3/vendor/cache/ruby/1.9.1/gems/rake-10.1.0/lib/rake/application.rb:106:in > > `each' > > > /opt/gitorious-3/vendor/cache/ruby/1.9.1/gems/rake-10.1.0/lib/rake/application.rb:106:in > > `block in top_level' > > > /opt/gitorious-3/vendor/cache/ruby/1.9.1/gems/rake-10.1.0/lib/rake/application.rb:115:in > > `run_with_threads' > > > /opt/gitorious-3/vendor/cache/ruby/1.9.1/gems/rake-10.1.0/lib/rake/application.rb:100:in > > `top_level' > > > /opt/gitorious-3/vendor/cache/ruby/1.9.1/gems/rake-10.1.0/lib/rake/application.rb:78:in > > `block in run' > > > /opt/gitorious-3/vendor/cache/ruby/1.9.1/gems/rake-10.1.0/lib/rake/application.rb:165:in > > `standard_exception_handling' > > > /opt/gitorious-3/vendor/cache/ruby/1.9.1/gems/rake-10.1.0/lib/rake/application.rb:75:in > > `run' > > > /opt/gitorious-3/vendor/cache/ruby/1.9.1/gems/rake-10.1.0/bin/rake:33:in > > `<top (required)>' > > > /opt/gitorious-3/vendor/cache/ruby/1.9.1/bin/rake:19:in `load' > > > /opt/gitorious-3/vendor/cache/ruby/1.9.1/bin/rake:19:in `<main>' > > > > > > > > > On Monday, December 16, 2013 11:23:40 AM UTC-5, John Aylward wrote: > > > > After updating my Gitorious 3 install to the latest head, I'm now given > > > many errors in my production.log and am unable to use the gitorious web > > > interface. > > > > > > > > Errors are as follows: > > > > Main error that prevents rendering: > > > > > > > > ActionView::Template::Error (silk/feed.png isn't precompiled): > > > > 17: #++ > > > > 18: %> > > > > 19: <div class="pull-right"> > > > > 20: <%= feed_icon atom_auto_discovery_url %> > > > > 21: </div> > > > > 22: <%= tabbable %w(user-activities), :active => 'user-activities' do > > > %> > > > > 23: <%= tab_pane :user_activities, :active => true do %> > > > > app/helpers/application_helper.rb:122:in `feed_icon' > > > > app/views/users/show/_activities.html.erb:20:in > > > `_app_views_users_show__activities_html_erb__782998726537965244_51678180' > > > > app/views/users/show.html.erb:32:in > > > `_app_views_users_show_html_erb___2351283733942998946_62454460' > > > > app/controllers/users_controller.rb:48:in `block (2 levels) in show' > > > > app/controllers/users_controller.rb:45:in `show' > > > > app/middlewares/dolt_cache_middleware.rb:24:in `call' > > > > app/middlewares/dolt_auth_middleware.rb:26:in `call' > > > > > > > > > > > > Other errors that don't stop rendering, but may impact usage: > > > > > > > > ActionController::RoutingError (No route matches [GET] > > > "/assets/issues/application.css"): > > > > > > > vendor/cache/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_dispatch/middleware/debug_exceptions.rb:21:in > > > `call' > > > > > > > vendor/cache/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_dispatch/middleware/show_exceptions.rb:56:in > > > `call' > > > > > > > vendor/cache/ruby/1.9.1/gems/railties-3.2.16/lib/rails/rack/logger.rb:32:in > > > `call_app' > > > > > > > vendor/cache/ruby/1.9.1/gems/railties-3.2.16/lib/rails/rack/logger.rb:16:in > > > `block in call' > > > > > > > vendor/cache/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/tagged_logging.rb:22:in > > > `tagged' > > > > > > > vendor/cache/ruby/1.9.1/gems/railties-3.2.16/lib/rails/rack/logger.rb:16:in > > > `call' > > > > > > > vendor/cache/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_dispatch/middleware/request_id.rb:22:in > > > `call' > > > > > > > vendor/cache/ruby/1.9.1/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:in > > > `call' > > > > vendor/cache/ruby/1.9.1/gems/rack-1.4.5/lib/rack/runtime.rb:17:in `call' > > > > > > > vendor/cache/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/cache/strategy/local_cache.rb:72:in > > > `call' > > > > vendor/cache/ruby/1.9.1/gems/rack-1.4.5/lib/rack/lock.rb:15:in `call' > > > > vendor/cache/ruby/1.9.1/gems/railties-3.2.16/lib/rails/engine.rb:484:in > > > `call' > > > > > > > vendor/cache/ruby/1.9.1/gems/railties-3.2.16/lib/rails/application.rb:231:in > > > `call' > > > > > > > vendor/cache/ruby/1.9.1/gems/railties-3.2.16/lib/rails/railtie/configurable.rb:30:in > > > `method_missing' > > > > > > > /usr/lib/passenger-4.0.25/lib/phusion_passenger/rack/thread_handler_extension.rb:77:in > > > `process_request' > > > > > > > /usr/lib/passenger-4.0.25/lib/phusion_passenger/request_handler/thread_handler.rb:140:in > > > `accept_and_process_next_request' > > > > > > > /usr/lib/passenger-4.0.25/lib/phusion_passenger/request_handler/thread_handler.rb:108:in > > > `main_loop' > > > > > > > /usr/lib/passenger-4.0.25/lib/phusion_passenger/request_handler.rb:441:in > > > `block (3 levels) in start_threads' > > > > > > > > > > > > > > > > ActionController::RoutingError (No route matches [GET] > > > "/assets/issues/application.js"): > > > > > > > vendor/cache/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_dispatch/middleware/debug_exceptions.rb:21:in > > > `call' > > > > > > > vendor/cache/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_dispatch/middleware/show_exceptions.rb:56:in > > > `call' > > > > > > > vendor/cache/ruby/1.9.1/gems/railties-3.2.16/lib/rails/rack/logger.rb:32:in > > > `call_app' > > > > > > > vendor/cache/ruby/1.9.1/gems/railties-3.2.16/lib/rails/rack/logger.rb:16:in > > > `block in call' > > > > > > > vendor/cache/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/tagged_logging.rb:22:in > > > `tagged' > > > > > > > vendor/cache/ruby/1.9.1/gems/railties-3.2.16/lib/rails/rack/logger.rb:16:in > > > `call' > > > > > > > vendor/cache/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_dispatch/middleware/request_id.rb:22:in > > > `call' > > > > > > > vendor/cache/ruby/1.9.1/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:in > > > `call' > > > > vendor/cache/ruby/1.9.1/gems/rack-1.4.5/lib/rack/runtime.rb:17:in `call' > > > > > > > vendor/cache/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/cache/strategy/local_cache.rb:72:in > > > `call' > > > > vendor/cache/ruby/1.9.1/gems/rack-1.4.5/lib/rack/lock.rb:15:in `call' > > > > vendor/cache/ruby/1.9.1/gems/railties-3.2.16/lib/rails/engine.rb:484:in > > > `call' > > > > > > > vendor/cache/ruby/1.9.1/gems/railties-3.2.16/lib/rails/application.rb:231:in > > > `call' > > > > > > > vendor/cache/ruby/1.9.1/gems/railties-3.2.16/lib/rails/railtie/configurable.rb:30:in > > > `method_missing' > > > > > > > /usr/lib/passenger-4.0.25/lib/phusion_passenger/rack/thread_handler_extension.rb:77:in > > > `process_request' > > > > > > > /usr/lib/passenger-4.0.25/lib/phusion_passenger/request_handler/thread_handler.rb:140:in > > > `accept_and_process_next_request' > > > > > > > /usr/lib/passenger-4.0.25/lib/phusion_passenger/request_handler/thread_handler.rb:108:in > > > `main_loop' > > > > > > > /usr/lib/passenger-4.0.25/lib/phusion_passenger/request_handler.rb:441:in > > > `block (3 levels) in start_threads' > > > > -- > > -- > > To post to this group, send email to [email protected] > > To unsubscribe from this group, send email to > > [email protected] > > > > --- > > You received this message because you are subscribed to the Google Groups > "Gitorious" group. > > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > > For more options, visit https://groups.google.com/groups/opt_out. -- -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] --- You received this message because you are subscribed to the Google Groups "Gitorious" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
