Setting up MiniTest for a Rails 4 AppOctober 03, 2014
gem "minitest-rails", github: "blowmage/minitest-rails" gem "minitest-reporters"
config.generators do |g| g.test_framework :minitest, spec: true, fixture: true g.helper false g.view_specs false end
rails g minitest:install
Rails.env = "test"
Deploying a Rails ApplicationSeptember 18, 2014
cap staging depoy
Version Server Conf Files Locally with GitJuly 17, 2014
Copy the following whitelisting code into the file and modify where necessary.
# First, ignore everything * # Now, whitelist anything that's a directory !*/ # Add all the file types you're interested in. !*.one !*.two !*.etc
Setting up an Ubuntu 13.04 Server for RailsMay 25, 2013
sudo adduser deploy
Make sure that each line completes before running the next. Don't just copy the lines in all at once or it will use the beginning letters of one line as an answer to questions the first may ask.
sudo apt-get -y update && sudo apt-get -y upgrade
Wing Wing Z-84 Solderless BuildApril 23, 2014