Putting Ruby on Rails in Production on Debian with Virtualmin
If you have 512 MB of SWAP or below you need to increase the SWAP $> sudo dd if=/dev/zero of=/swap bs=1M count=1024 $> sudo mkswap /swap $> sudo swapon /swap To make permanent, add...
Just another Yipp.ca Blogs site
If you have 512 MB of SWAP or below you need to increase the SWAP $> sudo dd if=/dev/zero of=/swap bs=1M count=1024 $> sudo mkswap /swap $> sudo swapon /swap To make permanent, add...
Install Ruby 2.1 # as root apt-get update apt-get install build-essential bison openssl libreadline6 libreadline6-dev \ libyaml-dev libxml2-dev libxslt-dev zlib1g zlib1g-dev libssl-dev autoconf \ libc6-dev ncurses-dev libaprutil1-dev libffi-dev libcurl4-openssl-dev libapr1-dev cd ~ wget http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.9.tar.gz...
<< @philipraath @olignyf a beforeAll or beforeEach that is not inside of any describe will be applied to all suites/specs, as appropriate, during the execution of the suite. >> https://github.com/jasmine/jasmine/issues/811
qtcreator Selected architecture i386 is not compatible with reported target architecture i386:x86-64
Solution mkdir /mnt/centosmini sudo mount -t cifs //192.168.0.104/dev /mnt/centosmini -o user=dev
Solution $> sudo yum install tcl
Solution add timeout=60 in the main section of /etc/yum.conf $> sudo nano /etc/yum.conf [main] timeout=60 (...)
Yes node has an uninstaller ! Get the .tar.gz of the release you have, for example for 0.10.46 https://github.com/nodejs/node/releases/tag/v0.10.46 Assuming it is downloaded in your your home ~/ $> tar -xzvf node-0.10.46.tar.gz $> cd...
Let's use CarrierWave Add to Gemfile gem 'carrierwave' gem 'mini_magick' Run this $> bundle install In your model add class SellerProduct < ActiveRecord::Base mount_uploader :image, ImageUploader Then launch your server $> rails server...
Recent Comments