Setting up Rails, Passenger, Nginx, Mysql and xdelta3 on RED HAT ENTERPRISE LINUXOctober 29, 2014 |
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 su - root
yum groupinstall "Development Tools" "Development Libraries"
Setting up MiniTest for a Rails 4 AppOctober 03, 2014 |
Gemfile
gem "minitest-rails", github: "blowmage/minitest-rails"
gem "minitest-reporters"
application.rb
config.generators do |g|
g.test_framework :minitest, spec: true, fixture: true
g.helper false
g.view_specs false
end
$>
rails g minitest:install
test_helper.rb
Rails.env = "test"
Deploying a Rails ApplicationSeptember 18, 2014 |
cap staging depoy
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
How To Install Ruby on Rails on Mavericks (OSX 10.9)October 26, 2013 |
xcode-select --install
ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go/install)"
brew doctor
brew update
brew install rbenv ruby-build openssl
echo 'eval "$(rbenv init -)"' >> ~/.bash_profile
source ~/.bash_profile