$ brew install pcre
$ gem install passenger
$ passenger-install-nginx-module
https://www.phusionpassenger.com/download
TODO:
- create a deploy user and group
$ brew install pcre
$ gem install passenger
$ passenger-install-nginx-module
https://www.phusionpassenger.com/download
TODO:
$ rvm --trace requirements ruby | |
+ [[ -n '' ]] | |
+ set -o errtrace | |
+ export 'PS4=+ $(date "+%s.%N") ${BASH_SOURCE##${rvm_path:-}} : ${FUNCNAME[0]:+${FUNCNAME[0]}()} ${LINENO} > ' | |
+ PS4='+ $(date "+%s.%N") ${BASH_SOURCE##${rvm_path:-}} : ${FUNCNAME[0]:+${FUNCNAME[0]}()} ${LINENO} > ' | |
+ 1370044767.N /scripts/cli : __rvm_parse_args() 709 > [[ -z '' ]] | |
+ 1370044767.N /scripts/cli : __rvm_parse_args() 709 > [[ -n '' ]] | |
+ 1370044767.N /scripts/cli : __rvm_parse_args() 712 > [[ error == '' ]] | |
+ 1370044767.N /scripts/cli : __rvm_parse_args() 712 > [[ 0 -eq 1 ]] | |
+ 1370044767.N /scripts/cli : __rvm_parse_args() 712 > [[ -n '' ]] |
############################################## | |
####### $ rvm --debug requirements ruby ##### | |
############################################## | |
$ rvm --debug requirements ruby | |
rvm_autolibs_flag=enable | |
Installing requirements for osx, might require sudo password. | |
requirements code for osx loaded | |
brew seems to be writable | |
Install custom packages: homebrew/dupes. |
minibook:sandbox aj$ ruby -v | |
ruby 2.0.0p195 (2013-05-14 revision 40734) [x86_64-darwin11.4.2] | |
minibook:sandbox aj$ rvm gemset use mytest --create | |
minibook:sandbox aj$ gem install rails --version=4.0.0.rc2 | |
Fetching: i18n-0.6.4.gem (100%) | |
Successfully installed i18n-0.6.4 | |
Fetching: multi_json-1.7.7.gem (100%) | |
Successfully installed multi_json-1.7.7 | |
Fetching: tzinfo-0.3.37.gem (100%) | |
Successfully installed tzinfo-0.3.37 |
$ RAILS_ENV="staging" rake db:migrate --trace | |
** Invoke db:migrate (first_time) | |
** Invoke environment (first_time) | |
** Execute environment | |
** Invoke db:load_config (first_time) | |
** Execute db:load_config | |
** Execute db:migrate | |
/usr/local/lib/ruby/gems/2.0.0/gems/activerecord-4.0.0/lib/active_record/connection_adapters/postgresql_adapter.rb:825: [BUG] Segmentation fault | |
ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-linux] |
#!/usr/bin/env ruby | |
# Fizz Buzz | |
# Copyright (c) 2013 AJ Acevedo | http://ajacevedo.com | |
# This content is released under the MIT License. | |
# http://www.opensource.org/licenses/mit-license.php | |
# Version: 0.1 | |
# The heavy lifting of Fizz Buzz | |
def fizz_buzz?(count) |
Date: [[Date of Document]] Between [Our Company] and [Your Company]
We’re not big on formality, but sometimes it’s best to have a few simple things written down so that we’re all on the same page. In this contract you won’t find complicated legal terms or large passages of unreadable text. We have no desire to trick you into signing something that you might later regret. We do want what’s best for the safety of both parties, now and in the future.
These suggestions are referencing pages from the pdf version published on 2013-08-10
Page: 5
Details:
If using rspec then there is no need for the test directory.
Original:
rails plugin new subscribem --full --mountable --dummy-path spec/dummy