Skip to content

Instantly share code, notes, and snippets.

gardentree / gist:5845756
Created June 23, 2013 17:12
Herokuにrails4+ruby2をpushする時に、rake assets:precompileでエラーが発生する場合
View gist:5845756
heroku labs:enable user-env-compile
gardentree / gist:4359081
Created December 22, 2012 14:32
View gist:4359081
rvm get latest
rvm reload
rvm version
gardentree / gist:4335665
Last active December 9, 2015 22:09
Mac OS Xのプレビューで"再開"を無効にしたい時に
View gist:4335665
defaults write NSQuitAlwaysKeepsWindows -bool false
gardentree / gist:3991520
Created November 1, 2012 03:36
[Can't mass-assign protected attributes: foo]が発生する時に
View gist:3991520{foo: "bar"},without_protection: true)
gardentree / gist:3652209
Created September 6, 2012 06:43
View gist:3652209
heroku pgbackups:restore DATABASE `heroku pgbackups:url --app myapp` --app myapp-staging
gardentree / gist:3512404
Created August 29, 2012 13:22
View gist:3512404
heroku pg:reset DATABASE --app #{name}
gardentree / gist:3191713
Created July 28, 2012 03:58
View gist:3191713
heroku config:add TZ=Asia/Tokyo
gardentree / gist:3017534
Created June 29, 2012 11:51
DefaultのHeroku Applicationを指定したい時に
View gist:3017534
git config heroku.remote #{}
gardentree / gist:1582134
Created January 9, 2012 09:18
View gist:1582134
heroku apps:create #{name} --stack cedar --remote staging --buildpack
gardentree / gist:1517117
Created December 24, 2011 10:55
Node.js Install
View gist:1517117
git clone git:// ~/.nvm
source ~/.nvm/
nvm install v0.6.6
npm install -g coffee-script
npm install -g express
express -s -c sass #{name}