Test from Jack, Test From Jack
Test from Jack
jack = Person.new jack.does_something('cool')
jack = new Person();
jack->doesSomething();
# .ruby-gemset | |
projectname | |
# .ruby-version | |
ruby-2.1.2 | |
# Gemfile | |
source 'https://rubygems.org' | |
cd .. | |
cd projectname | |
# Install bundler | |
gem install bundler | |
# Install Rails gem | |
gem install rails --version 4.1.4 --no-ri --no-rdoc | |
rails -v | |
rvm gemset list | |
gem update | |
# gem install rails | |
rails new . | |
#setup Github | |
git init | |
$ git add . | |
$ git commit -m 'initial commit' | |
git status | |
ssh -T -p 443 [email protected] | |
# You have to wait within 1 day to access to github | |
#bundle pg fail: | |
gem install pg -- --with-pg-config=/Applications/Postgres.app/Contents/Versions/9.3/bin/pg_config |