Monday, June 28, 2010

rmagick install

rmagickでフォントが読み込めないので
以下のサイトに従ってすべてを再インストール

http://web.elctech.com/2007/02/24/installing-rmagick-properly-in-osx/

うまくいかない


$ sudo port edit imagemagick

variants myvar {
configure.args-append --with-gs-font-dir=/opt/local/share/ghostscript/fonts
}

を追加
$ sudo port install imagemagick +myvar でインストール


Wednesday, June 16, 2010

denki

2010 年6月電気代

4774円(203kw)
去年は5,052円(216kw)

Saturday, June 05, 2010

Nokogiri libxml2 version warning

gem install nokogiri -- --with-xml2-include=/opt/local/include/libxml2 --with-xml2-lib=/opt/local/lib --with-xslt-dir=/opt/local

http://wiki.github.com/tenderlove/nokogiri/what-to-do-if-libxml2-is-being-a-jerk

Friday, June 04, 2010

GistのコードをGitHubに移管する

GistのコードをGitHubに移管する
  1. GitHubで新規プロジェクトをcreateする
  2. gistのremote nameを変える:git remote rename origin gist
  3. gistのworking directoryでそのremote(origin)を追加する: git remote add origin git@github.com:melborne/graphaz.git
  4. 新たなremoteにpushする: git push origin master