public
Created

cache: [GET /] miss - driving me crazy :(

  • Download Gist
gistfile1.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186
 
==================== development mode ======================
every thing is dandy!
 
[rails 3] OX_ID=1 r s
=> Booting WEBrick
=> Rails 3.2.1 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
[2012-01-28 03:38:30] INFO WEBrick 1.3.1
[2012-01-28 03:38:30] INFO ruby 1.9.2 (2011-07-09) [x86_64-darwin11.1.0]
[2012-01-28 03:38:30] INFO WEBrick::HTTPServer#start: pid=29054 port=3000
 
Started GET "/login" for 127.0.0.1 at 2012-01-28 03:38:43 +0100
Processing by Users::SessionsController#new as HTML
Rendered users/shared/_links.erb (2.8ms)
Rendered users/sessions/new.html.erb within layouts/application (23.8ms)
Ox Load (0.2ms) SELECT `oxen`.* FROM `oxen` WHERE `oxen`.`id` = 1 LIMIT 1
Compiled bootstrap/bootstrap-alert.js (0ms) (pid 29054)
Compiled bootstrap/bootstrap-button.js (0ms) (pid 29054)
Compiled bootstrap/bootstrap-carousel.js (0ms) (pid 29054)
Compiled bootstrap/bootstrap-collapse.js (0ms) (pid 29054)
Compiled bootstrap/bootstrap-dropdown.js (0ms) (pid 29054)
Compiled bootstrap/bootstrap-modal.js (0ms) (pid 29054)
Compiled bootstrap/bootstrap-tooltip.js (0ms) (pid 29054)
Compiled bootstrap/bootstrap-popover.js (0ms) (pid 29054)
Compiled bootstrap/bootstrap-scrollspy.js (0ms) (pid 29054)
Compiled bootstrap/bootstrap-tab.js (0ms) (pid 29054)
Compiled bootstrap/bootstrap-transition.js (0ms) (pid 29054)
Compiled bootstrap/bootstrap-typeahead.js (0ms) (pid 29054)
Compiled bootstrap.js (297ms) (pid 29054)
Compiled bootstrap.css (956ms) (pid 29054)
Compiled application.css (967ms) (pid 29054)
Compiled jquery.js (53ms) (pid 29054)
Compiled jquery_ujs.js (0ms) (pid 29054)
Compiled abstract_actions.js (71ms) (pid 29054)
Compiled admin/roleables.js (0ms) (pid 29054)
Compiled admin/roles.js (0ms) (pid 29054)
Compiled admin/user_groups.js (4ms) (pid 29054)
Compiled admin/users.js (0ms) (pid 29054)
Compiled desktop/jquery.tablesorter.min.js (0ms) (pid 29054)
Compiled desktop.js (11ms) (pid 29054)
Compiled oxen.js (0ms) (pid 29054)
Compiled sessions.js (1ms) (pid 29054)
Compiled users/confirmations.js (0ms) (pid 29054)
Compiled users/passwords.js (0ms) (pid 29054)
Compiled users/registrations.js (0ms) (pid 29054)
Compiled users/sessions.js (0ms) (pid 29054)
Compiled users/unlocks.js (0ms) (pid 29054)
Compiled application.js (460ms) (pid 29054)
CACHE (0.0ms) SELECT `oxen`.* FROM `oxen` WHERE `oxen`.`id` = LIMIT 1
Rendered menu_items/_menu.haml (6.7ms)
Completed 200 OK in 1671ms (Views: 1640.9ms | ActiveRecord: 4.1ms)
 
 
Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2012-01-28 03:38:45 +0100
Served asset /bootstrap.css - 304 Not Modified (8ms)
 
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-28 03:38:45 +0100
Served asset /application.css - 304 Not Modified (3ms)
 
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-28 03:38:45 +0100
Served asset /jquery.js - 304 Not Modified (3ms)
 
Started GET "/assets/bootstrap/bootstrap-alert.js?body=1" for 127.0.0.1 at 2012-01-28 03:38:45 +0100
Served asset /bootstrap/bootstrap-alert.js - 304 Not Modified (3ms)
 
Started GET "/assets/bootstrap/bootstrap-button.js?body=1" for 127.0.0.1 at 2012-01-28 03:38:45 +0100
Served asset /bootstrap/bootstrap-button.js - 304 Not Modified (5ms)
 
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-28 03:38:45 +0100
Served asset /jquery_ujs.js - 304 Not Modified (3ms)
 
Started GET "/assets/bootstrap/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2012-01-28 03:38:45 +0100
Served asset /bootstrap/bootstrap-collapse.js - 304 Not Modified (2ms)
 
Started GET "/assets/bootstrap/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2012-01-28 03:38:45 +0100
Served asset /bootstrap/bootstrap-carousel.js - 304 Not Modified (2ms)
 
Started GET "/assets/bootstrap/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2012-01-28 03:38:45 +0100
Served asset /bootstrap/bootstrap-dropdown.js - 304 Not Modified (58ms)
 
Started GET "/assets/bootstrap/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2012-01-28 03:38:45 +0100
Served asset /bootstrap/bootstrap-tooltip.js - 304 Not Modified (3ms)
 
Started GET "/assets/bootstrap/bootstrap-modal.js?body=1" for 127.0.0.1 at 2012-01-28 03:38:45 +0100
Served asset /bootstrap/bootstrap-modal.js - 304 Not Modified (2ms)
 
Started GET "/assets/bootstrap/bootstrap-popover.js?body=1" for 127.0.0.1 at 2012-01-28 03:38:45 +0100
Served asset /bootstrap/bootstrap-popover.js - 304 Not Modified (4ms)
 
Started GET "/assets/bootstrap/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2012-01-28 03:38:45 +0100
Served asset /bootstrap/bootstrap-scrollspy.js - 304 Not Modified (3ms)
 
Started GET "/assets/bootstrap/bootstrap-tab.js?body=1" for 127.0.0.1 at 2012-01-28 03:38:45 +0100
Served asset /bootstrap/bootstrap-tab.js - 304 Not Modified (3ms)
 
Started GET "/assets/bootstrap/bootstrap-transition.js?body=1" for 127.0.0.1 at 2012-01-28 03:38:45 +0100
Served asset /bootstrap/bootstrap-transition.js - 304 Not Modified (8ms)
 
Started GET "/assets/bootstrap/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2012-01-28 03:38:45 +0100
Served asset /bootstrap/bootstrap-typeahead.js - 304 Not Modified (2ms)
 
Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2012-01-28 03:38:45 +0100
Served asset /bootstrap.js - 304 Not Modified (15ms)
 
Started GET "/assets/abstract_actions.js?body=1" for 127.0.0.1 at 2012-01-28 03:38:45 +0100
Served asset /abstract_actions.js - 304 Not Modified (1ms)
 
Started GET "/assets/admin/roleables.js?body=1" for 127.0.0.1 at 2012-01-28 03:38:45 +0100
Served asset /admin/roleables.js - 304 Not Modified (1ms)
 
Started GET "/assets/admin/roles.js?body=1" for 127.0.0.1 at 2012-01-28 03:38:45 +0100
Served asset /admin/roles.js - 304 Not Modified (1ms)
 
Started GET "/assets/admin/user_groups.js?body=1" for 127.0.0.1 at 2012-01-28 03:38:45 +0100
Served asset /admin/user_groups.js - 304 Not Modified (1ms)
 
Started GET "/assets/admin/users.js?body=1" for 127.0.0.1 at 2012-01-28 03:38:45 +0100
Served asset /admin/users.js - 304 Not Modified (3ms)
 
Started GET "/assets/desktop/jquery.tablesorter.min.js?body=1" for 127.0.0.1 at 2012-01-28 03:38:45 +0100
Served asset /desktop/jquery.tablesorter.min.js - 304 Not Modified (2ms)
 
Started GET "/assets/desktop.js?body=1" for 127.0.0.1 at 2012-01-28 03:38:45 +0100
Served asset /desktop.js - 304 Not Modified (3ms)
 
Started GET "/assets/oxen.js?body=1" for 127.0.0.1 at 2012-01-28 03:38:45 +0100
Served asset /oxen.js - 304 Not Modified (1ms)
 
Started GET "/assets/sessions.js?body=1" for 127.0.0.1 at 2012-01-28 03:38:45 +0100
Served asset /sessions.js - 304 Not Modified (1ms)
 
Started GET "/assets/users/confirmations.js?body=1" for 127.0.0.1 at 2012-01-28 03:38:45 +0100
Served asset /users/confirmations.js - 304 Not Modified (3ms)
 
Started GET "/assets/users/passwords.js?body=1" for 127.0.0.1 at 2012-01-28 03:38:45 +0100
Served asset /users/passwords.js - 304 Not Modified (1ms)
 
Started GET "/assets/users/registrations.js?body=1" for 127.0.0.1 at 2012-01-28 03:38:45 +0100
Served asset /users/registrations.js - 304 Not Modified (1ms)
 
Started GET "/assets/users/sessions.js?body=1" for 127.0.0.1 at 2012-01-28 03:38:45 +0100
Served asset /users/sessions.js - 304 Not Modified (1ms)
 
Started GET "/assets/users/unlocks.js?body=1" for 127.0.0.1 at 2012-01-28 03:38:45 +0100
Served asset /users/unlocks.js - 304 Not Modified (2ms)
 
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-28 03:38:45 +0100
Served asset /application.js - 304 Not Modified (43ms)
 
Started POST "/login" for 127.0.0.1 at 2012-01-28 03:39:35 +0100
Processing by Users::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"C53aPWNPybm+P0PbFXQEBFH/hmIgHWrtST0c4fkuOuU=", "user"=>{"login"=>"oxen", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log ind"}
User Load (0.4ms) SELECT `users`.* FROM `users` WHERE (users.ox_id='1') AND (lower(username) = 'oxen' OR lower(email) = 'oxen') LIMIT 1
(0.1ms) BEGIN
(0.2ms) COMMIT
(0.1ms) BEGIN
(0.3ms) UPDATE `users` SET `current_sign_in_at` = '2012-01-28 02:39:35', `sign_in_count` = 2, `updated_at` = '2012-01-28 02:39:35' WHERE `users`.`id` = 1
(0.6ms) COMMIT
Redirected to http://localhost:3000/
Completed 302 Found in 175ms (ActiveRecord: 0.0ms)
 
 
=============== switching to production mode =========================
In production I get the HTML but no CSS and no JS (on my Mac) and nothing at all on a Linux server (have tried both Apache and NGINX)
 
[rails 3] OX_ID=1 r s -e production
=> Booting WEBrick
=> Rails 3.2.1 application starting in production on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
[2012-01-28 03:42:54] INFO WEBrick 1.3.1
[2012-01-28 03:42:54] INFO ruby 1.9.2 (2011-07-09) [x86_64-darwin11.1.0]
[2012-01-28 03:42:54] INFO WEBrick::HTTPServer#start: pid=29117 port=3000
cache: [GET /] miss
cache: [GET /login] miss
cache: [GET /assets/application-d32a93ded9d2ad59fba5d1fbeffacfff.css] miss
cache: [GET /assets/application-c0d1f7a70438aec00e39a446439f6d0b.js] miss
^C[2012-01-28 03:43:28] INFO going to shutdown ...
[2012-01-28 03:43:29] INFO WEBrick::HTTPServer#start done.
Exiting
[rails 3] ls -la public/assets/application-d32a93ded9d2ad59fba5d1fbeffacfff.css
-rw-r--r-- 1 walther staff 66842 25 Jan 07:54 public/assets/application-d32a93ded9d2ad59fba5d1fbeffacfff.css
[rails 3] ls -la public/assets/application-c0d1f7a70438aec00e39a446439f6d0b.js
-rw-r--r-- 1 walther staff 133624 25 Jan 12:55 public/assets/application-c0d1f7a70438aec00e39a446439f6d0b.js

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.