...sudo ip route del default sudo ip route add default via Add another DNS server to /etc/resolv.conf, for example
...Problem can occur when using the integrated Ruby Mine Debugger: Try to restart the server without debugging mode
...previewable to my knowledge till dato. Don't forget to provide rmagick on your server
...after upgrading Ruby from 2.4.5 to 2.6.4 when I opened the Rails console - rails server still worked. Running via Spring preloader in process 14679 Loading development environment (Rails 5.2.2.1)
...over 30 seconds to finish. It turns out that for some reason, the SOLR server seemed not to close its HTTP connections properly. After the maximum number of connections was...
...seriously speed up deployments with Capistrano when using a local git repository on the server you are deploying to. Simply add set :deploy_via, :remote_cache set :copy_exclude, [ '.git...
...trouble will come from. Replace 147.0.0.123 with the client address, log into your web server and run: remote$ sudo tcpdump host 147.0.0.123 and port 80 -s 0 -w /tmp/network.dump
...systems `postgres` user $ sudo su -l postgres $ pgsql postgres=# \c your_database; psql (9.3.9, server 9.3.5) You are now connected to database "your_database" as user "postgres". your_database =# CREATE...
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...
...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...
We use CarrierWave in many of our projects to store and serve files of various formats - mostly images. A common use case of CarrierWave's DSL is to "process" the...
...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
...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...