Feedback

type to search

Is something wrong with my performance over Ubuntu 10.4?

Asked by , Edited by Fabiano PS

I am having a issue, i guess there is something wrong with my installation over Ubuntu 10.4.

I have successfully installed mongodb-stable and all required gems, but the requests over production environment looks horrible, around 2sec on a empty DB.

Link here: http://gist.github.com/648092 Gem list at bottom.

My computer should perform fast. Specs: http://imm.io/1NCx

or Cancel

1 answer

1

patcito [ Admin ]

It should run faster in production mode. Try:

RAILS_ENV=production ./script/server
NN comments
krawek
-
you need to configure shapado.yml (see the production section) also run compass and rake asset:packager:build_all to package the assets.

dtroy
-
OK. Figured this one out myself: had to add the port number to the domain in shapado.yml: production: <<: *common domain: domain.com:81 Thanks for your help!

dtroy
-
tried what you said, but it didn’t seem to make a difference: 1. Changed the environment/production.rb to the original one

  1. Ran compass. this is the output: WARNING: This interface is deprecated. Please use the new subcommand interface. See compass help for more information.

    exists public/stylesheets/compiled exists public/stylesheets/compiled/navigation exists public/stylesheets/compiled/themes/sof exists public/stylesheets/compiled/themes/blue exists public/stylesheets/compiled/themes/green exists public/stylesheets/compiled/themes/plain exists public/stylesheets/compiled/themes/shapado exists public/stylesheets/compiled/themes/bec-green exists public/stylesheets/compiled/themes/drastic-bec unchanged app/stylesheets/themes/green/style.sass unchanged app/stylesheets/themes/blue/style.sass unchanged app/stylesheets/themes/shapado/style.sass unchanged app/stylesheets/themes/sof/style.sass unchanged app/stylesheets/themes/bec-green/style.sass unchanged app/stylesheets/themes/plain/style.sass unchanged app/stylesheets/themes/drastic-bec/style.sass unchanged app/stylesheets/errors.sass unchanged app/stylesheets/application.sass unchanged app/stylesheets/navigation/shapado.sass unchanged app/stylesheets/navigation/drastic-bec.sass unchanged app/stylesheets/navigation/green.sass unchanged app/stylesheets/navigation/bec-green.sass unchanged app/stylesheets/navigation/plain.sass unchanged app/stylesheets/navigation/blue.sass unchanged app/stylesheets/navigation/sof.sass

  2. ran rake asset:packager:buildall Result (in /opt/shapado) DEPRECATION WARNING: Rake tasks in vendor/plugins/openidauthentication/tasks are deprecated. Use lib/tasks instead. (called from /usr/lib/ruby/gems/1.8/gems/rails-2.3.10/lib/tasks/rails.rb:10) Created /opt/shapado/public/javascripts/basepackaged.js Created /opt/shapado/public/javascripts/showpackaged.js Created /opt/shapado/public/javascripts/loginpackaged.js Created /opt/shapado/public/stylesheets/base_packaged.css

or Cancel

Your answer

You need to join Shapado to complete this action, click here to do so.