{"id":7228,"date":"2012-10-07T02:50:01","date_gmt":"2012-10-06T17:50:01","guid":{"rendered":"http:\/\/fukata.org\/?p=7228"},"modified":"2017-08-11T22:58:47","modified_gmt":"2017-08-11T22:58:47","slug":"migration-gitorious-passenger-standalone","status":"publish","type":"post","link":"https:\/\/blog.fukata.org\/archives\/7228\/","title":{"rendered":"\u81ea\u5b85\u306egitorious\u30b5\u30fc\u30d0\u3092rvm + passenger(apache2) + daemontools\u304b\u3089rbenv + bundler + passenger(standalone) + supervisord\u306b\u79fb\u884c\u3057\u305f"},"content":{"rendered":"
\u5f53\u30d6\u30ed\u30b0\u3067\u5229\u7528\u3057\u3066\u3044\u308b\u30b5\u30fc\u30d0\uff08\u3055\u304f\u3089\u306eVPS 4G\uff09\u304c\u8272\u3005\u540c\u5c45\u3055\u305b\u3066\u304a\u308a\u3001gitorious\u306e\u30d0\u30c3\u30c1\u304c\u305f\u307e\u306b\u8ca0\u8377\u3092\u304b\u3051\u91cd\u304f\u306a\u3063\u3066\u3057\u307e\u3063\u3066\u3044\u305f\u306e\u3067\u4f59\u3063\u3066\u3044\u305f\u3055\u304f\u3089\u306eVPS 1G\u306b\u79fb\u3057\u307e\u3057\u305f\u3002<\/p>\n
\u3069\u3046\u305b\u79fb\u3059\u3093\u3060\u3063\u305f\u3089\u3068\u601d\u3044\u3001\u4eca\u307e\u3067rvm, passenger(apache2), daemontools\u3060\u3063\u305f\u69cb\u6210\u3092rbenv, passenger(standalone), supervisord\u306b\u79fb\u884c\u3057\u307e\u3057\u305f\u3002<\/p>\n
<\/p>\n
gitorious\u306e\u4e3b\u306a\u69cb\u6210\u306f\u4e0b\u8a18\u306e\u901a\u308a<\/p>\n
\u4ee5\u524d\u306fapache2 + passenger\u3067\u52d5\u4f5c\u3055\u305b\u3066\u3044\u305f\u306e\u3067web\u306e\u5b9f\u884c\u30e6\u30fc\u30b6\u306fwww-data\u306e\u307e\u307e\u3067\u3001git-daemon\u306a\u3069\u306e\u5b9f\u884c\u30e6\u30fc\u30b6\u306fgit\u3068\u3044\u3046\u611f\u3058\u3067\u3057\u305f\u304c\u3001\u4eca\u56de\u306fgit\u30e6\u30fc\u30b6\u306b\u5168\u3066\u7d71\u4e00\u3055\u305b\u307e\u3057\u305f\u3002<\/p>\n
\u76ee\u6b21<\/p>
\u307e\u305a\u3001rvm\u304b\u3089rbenv, ruby-build\u3078\u79fb\u884c\u3057\u307e\u3059\u3002\u624b\u9806\u306f\u4e0b\u8a18\u306e\u30da\u30fc\u30b8\u3067\u66f8\u304b\u308c\u3066\u3044\u308b\u901a\u308a\u306b\u5b9f\u884c\u3059\u308c\u3070\u5927\u4e08\u592b\u3067\u3059\u3002<\/p>\n
\u3046\u3076\u6bdb\u30d7\u30ea\u30f3: rvm\u304b\u3089rbenv\u306b\u79fb\u884c\u3057\u305f<\/a><\/p>\n \u5b9f\u969b\u306b\u5165\u308c\u305fRuby\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306f1.8.7-p370\u306a\u306e\u3067\u3001\u30b3\u30ec\u3092\u5165\u308c\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n gem\u3067\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u969b\u306brehash\u3059\u308b\u624b\u9593\u3092\u7701\u304f\u305f\u3081\u3001rbenv-rehash\u3092\u4e0b\u8a18\u306e\u901a\u308a\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n\r\nrbenv install 1.8.7-p370\r\n<\/pre>\n