is there a command to recompile all stuff again for production?

On Feb 23, 5:08 pm, Edward Samokhvalov <[email protected]> wrote:
> Hello, everyone!
>
> I have a routing for users/index/messages, which works fine in the
> development mode on Mongrel.
> I tried to migrate it to production like this:
> 1) rake db:migrate RAILS_ENV=production
> 2) sudo /etc/init.d/apache2 start
>
> It starts, the application works, but when I go tohttp://app/users/1/messages
> it shows an error, and that's the production.log
>
> Processing UsersController#1 (for 10.0.133.28 at 2010-02-23 16:12:57)
> [GET]
>   Parameters: {"action"=>"1", "id"=>"statuses", "controller"=>"users"}
>
> ActionController::UnknownAction (No action responded to 1. Actions:
> access_denied, account, authenticated_user_from_cookie, authorized?,
> create, create_auth_cookie, destroy, do_reset_password, do_signup,
> edit, forgot_password, ht, index, login, login_from_cookie,
> login_required, logout, model, new,redirect_back_or_default,
> reset_password, show, signup, store_location, and update):
>   hobo (1.0.0) lib/hobo/controller.rb:23:in `call'
>   hobo (1.0.0) lib/hobo/controller.rb:23:in `included_in_class'
>   passenger (2.2.7) lib/phusion_passenger/rack/request_handler.rb:
> 95:in `process_request'
>   passenger (2.2.7) lib/phusion_passenger/abstract_request_handler.rb:
> 207:in `main_loop'
>   passenger (2.2.7) lib/phusion_passenger/railz/application_spawner.rb:
> 374:in `start_request_handler'
>   passenger (2.2.7) lib/phusion_passenger/railz/application_spawner.rb:
> 332:in `handle_spawn_application'
>   passenger (2.2.7) lib/phusion_passenger/utils.rb:184:in `safe_fork'
>   passenger (2.2.7) lib/phusion_passenger/railz/application_spawner.rb:
> 330:in `handle_spawn_application'
>   passenger (2.2.7) lib/phusion_passenger/abstract_server.rb:352:in
> `__send__'
>   passenger (2.2.7) lib/phusion_passenger/abstract_server.rb:352:in
> `main_loop'
>   passenger (2.2.7) lib/phusion_passenger/abstract_server.rb:196:in
> `start_synchronously'
>   passenger (2.2.7) lib/phusion_passenger/abstract_server.rb:163:in
> `start'
>   passenger (2.2.7) lib/phusion_passenger/railz/application_spawner.rb:
> 209:in `start'
>   passenger (2.2.7) lib/phusion_passenger/spawn_manager.rb:262:in
> `spawn_rails_application'
>   passenger (2.2.7) lib/phusion_passenger/
> abstract_server_collection.rb:126:in `lookup_or_add'
>   passenger (2.2.7) lib/phusion_passenger/spawn_manager.rb:256:in
> `spawn_rails_application'
>   passenger (2.2.7) lib/phusion_passenger/
> abstract_server_collection.rb:80:in `synchronize'
>   passenger (2.2.7) lib/phusion_passenger/
> abstract_server_collection.rb:79:in `synchronize'
>   passenger (2.2.7) lib/phusion_passenger/spawn_manager.rb:255:in
> `spawn_rails_application'
>   passenger (2.2.7) lib/phusion_passenger/spawn_manager.rb:154:in
> `spawn_application'
>   passenger (2.2.7) lib/phusion_passenger/spawn_manager.rb:287:in
> `handle_spawn_application'
>   passenger (2.2.7) lib/phusion_passenger/abstract_server.rb:352:in
> `__send__'
>   passenger (2.2.7) lib/phusion_passenger/abstract_server.rb:352:in
> `main_loop'
>   passenger (2.2.7) lib/phusion_passenger/abstract_server.rb:196:in
> `start_synchronously'
>
> At the same timehttp://app/statusesworks, showing all the statuses
> (not for particular user).
>
> Thx in advance.

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en.

Reply via email to