Add the following gems to your Gemfile:
gem 'activeresource'
gem 'newrelic_api'
Update your bundle:
| javascript:(function(){var l,r="";while(l=prompt(r)){try{r=String(eval(l));}catch(e){r="Error: "+e}}})(); |
| /* Desktops and laptops ----------- */ | |
| @media only screen and (min-width : 1224px) { | |
| a[href^="tel:"] { | |
| pointer-events: none; | |
| } | |
| } |
| $ phantomjs yslow.js --info basic --format plain http://www.bbc.co.uk | |
| size: 387.0K (387053 bytes) | |
| overall score: C (78) | |
| url: http://www.bbc.co.uk/ | |
| # of requests: 54 | |
| ruleset: ydefault | |
| page load time: 833 |
| <input type="text" placeholder="Type and I'll disappear" /> |
| .after::-webkit-input-placeholder { | |
| color: #F00; | |
| } | |
| .after:-moz-placeholder { | |
| color: #F00; | |
| } | |
| .after:-ms-input-placeholder { | |
| color: #F00; | |
| } |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset=utf-8 /> | |
| <title>JS Bin</title> | |
| </head> | |
| <body> | |
| <canvas id="canvas" height="1000" width="1000"></canvas> | |
| </body> | |
| </html> |
After migrating from heroku to dokku, we had to also chance codeship so we deploy to dokku. I followed the following steps to successfully deploy to dokku.
cat /tmp/codeship_projectname.pub | ssh root@yourdokkuinstance "sudo sshcommand acl-add dokku [description]"| gistup |
| gistup |