Mac+rvm+rails+heroku
herokuã«webã¢ããªãä½ãã£ã¦ã®ãåã ãããã£ã¦ã¿ããã£ãã®ã§ãã£ã¦ã¿ãã
rvmã¤ã³ã¹ãã¼ã«
å
¬å¼ãã¼ã¸ã®éã
RVM: Ruby Version Manager - Installing RVM
$ bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer )
$ echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function' >> ~/.bash_profile
$ source ~/.bash_profile
$ rvm install 1.8.7 $ rvm install 1.9.2 $ rvm 1.9.2 --default
PostgreSQLã¤ã³ã¹ãã¼ã«
herokuã§ä½¿ããããªã®ã§ã
heroku
herokuã®ã¦ã¼ã¶ã¼ä½æ
Heroku | Login
ã¡ã¼ã«ã¢ãã¬ã¹å
¥åãã¦è¿ã£ã¦ããã¡ã¼ã«ã®URLã¯ãªãã¯ãã¦æ
å ±å
¥ããã ã
herokuã®setup
Getting Started with Rails 3.x on Heroku | Heroku Dev Center
ã»ãã¨ããã®éãããã ã
ã ãã ã£ãã®ã¯pgã®gemãã¤ã³ã¹ãã¼ã«ã§ããªãã£ã
pg_configã®å ´æãæãã¦ãããªããã°ãã¡ããã
$ sudo find / -name pg_config -type f /Library/PostgreSQL/9.1/bin/pg_config $ gem install pg -- --with-pg-config=/Library/PostgreSQL/9.1/bin/pg_config