Each time thin boots, it prints a boot message : Thin web server (v1.6.3 codename Protein Powder) Maximum connections set to 1024 Listening on localhost:36309, CTRL+C to stop
...distinct version of RubyGems to be installed to replicate the same behavior across multiple servers. Usually would do this to update your RubyGems, but this always takes you to the...
...workers to 1 and the other requests have to wait. UNICORN_WORKERS=1 rails server
...can be chosen via command line switches, e.g. for cleaning up multiple local database server installations in batches. Derivative database names like foo_development and foo_test4 for foo are...
...Adobe Reader (acroread) if you need to: Download the .deb archive from the Adobe servers (yes, it's still there): cd /tmp && wget http://ardownload.adobe.com/pub/adobe/reader/unix/9.x/9.5.5/enu/AdbeRdr9.5.5-1_i386linux_enu.deb Install required dependencies first...
This works in IE10+. Make sure that the field name ends in [] so your server-side code will parse the incoming files into an array. Obviously this naming convention...
...Make sure to commit and push .bundle/config so your fellow developers (and all the servers you will deploy to) will benefit from this setting...
...may become large some day, as this performs horribly and can kill your database server...
...Keyboard and Mouse support TCP/IP stack with Loopback & Ethernet drivers Email/ftp/http/chess clients and ftp/mp3/http servers Hard real-time data fetch
...your local development machine (where caching is turned off automatically) but not on the server. To fix this, either: ^ Move all stylesheets to the same folder or have one cache...
...string to the type of a given attribute (or column). The following model will serve as our example: create_table :notes do |t| t.string :title t.integer :user_id t.boolean :deleted...
...installed and sudo finds your gems setup chef-client: follow this guide setup chef-server: follow this guide #Important execute all commands from within your chef-repo directory, else you...
...styles, and system will fail when passing it invalid arguments: system 'bundle exec rails server', '-p 3000' # fails and returns nil This is equivalent to running a command called "bundle...
...t successfully execute a simple iptables command and got this error on an Ubuntu server: # /sbin/iptables -I INPUT .... iptables: No chain/target/match by that name The cause was that two modules...
After starting the Rails server in a freshly generated Rails 3.1 project you could see an error message such as /usr/lib/ruby/gems/1.8/gems/execjs-1.3.0/lib/execjs/runtimes.rb:50:in `autodetect': Could not find a JavaScript runtime...
...your repository. If not, try to connect to localhost:1234. You can stop the server with git instaweb --stop
When connecting to multiple (i.e. > 4) servers to dive into logfiles or do security updates, terminator is what you want. There are several keyboard shortcuts available: Ctrl-Shift-E: Split...
...version (e.g. smaller, cropped) on page load. This will create significant load on your servers and effectively forces you to have HTTP caching or a CDN...
...XHR, but they (should) also send the correct Accept HTTP header to tell the server the data they expect to receive. If you say request.xhr? as a means for "wants...
...your normal email account, you might be out of luck: For some reason, Exchange servers will simply throw away the plaintext part of your mail, and just save the html...
...you upgrade to the mysql2 gem, you will run into the problem that the server's database.yml (which is usually not under version control) needs to change exactly on deploy...
...over at http://getfirebug.com/firebuglite#Stable. It usually loads the JavaScript code from a remote server but you can also download it to have it run locally. If adding the bookmarklet...
...that lets you define "partials" in HTML without any additional rendering technology on the server or client...
...You'll need it to access shared folders or your host's web server when testing pages in IE. Fun fact: You could also use vbox.srv -- that's the corresponding...