tasks:
-
set up rvm gemset environment
rvm --rvmrc --create 2.0.0@global
-
run rails new
rails new mdot
-
change gemfile to specifically ask for ruby 2.0
ruby "2.0.0"
-
add foundation to gemfile
-
add rails 3 gemsets
copied gemset from happyer .. foundation && rails 3 gemsets , plus staging gemsets
-
bundle install and commit
note group :assets is deprecation, include will-paginate, and httparty
tasks:
-
save env secret token variable to each
remove initializer/secret_token.rb http://daniel.fone.net.nz/blog/2013/05/20/a-better-way-to-manage-the-rails-secret-token/ heroku config:add SECRET_TOKEN=<30- digit character> heroku config:add SECRET_TOKEN=<30- digit character> --remote staging
-
commit to github
-
set up production server
heroku create mdotd heroku config:add SECRET_TOKEN=<30- digit character>
-
set up staging server
heroku create --remote staging mdotdev heroku config:add SECRET_TOKEN=<30- digit character> --remote staging
-
push code to production and staging
tasks:
- run foundation install
> rails g foundation:install
> , "data-turbolinks-track" => true
- add database schema creator
- put in error pages if u have them
- install kendoMobile
tasks:
- add constants.rb
- set page titles for dev, staging, production add to layout
- add service routes for environments
get latest stable version of rvm
rvm --version
rvm get stable
:if necessary
rvm cleanup all
fix homebrew
un-install
rm -rf /usr/local/Cellar /usr/local/.git && brew cleanup
re-install
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
downloads xcode command line tools again
homebrew updated !
remove broken symlinks
Get ruby version 2.1.1
rvm install 2.1.1
Set the default ruby
rvm --default use 2.1.1
Get rvm to use the global gemset for ruby 2.1.1
rvm gemset use global
create the .rvmrc
rvm --rvmrc --create 2.1.1@global
change gemfile to specifically ask for ruby 2.1.1
get rails 4.1.0
get gem updates
run tests and fix issues - do not skip !
a lib/dsym/ruby1.9.1 error was received when running heroku tool belt
I re-installed heroku toolbelt - still had error
I rvm installed ruby 1.9.1 - reinatlled heroku tool belt again and it was fixed