{"action":"created","comment":{"url":"https://api.github.com/repos/ne-sachirou/Noazami/pulls/comments/31052024","id":31052024,"diff_hunk":"@@ -0,0 +1,56 @@\n+Noazami on Windows\n+==========\n+\n+Install Ruby\n+----------\n+\n+[RubyInstaller](http://rubyinstaller.org/downloads/)\n+\n+- Ruby 2.2.2\n+- Ruby 2.2.2(x64)\n+\n+- installer\n+\n+or\n+\n+- 7zip archive of above and DevKit-mingw64-*-4.7.2-20130224-1432-sfx.exe and set PATH\n+\n+Install Noazami\n+----------\n+\n+### clone\n+\n+    git clone https://github.com/ne-sachirou/Noazami.git\n+    cd Noazami\\server\n+    bundle install <- will fail\n+\n+### puma install\n+\n+Since puma is native gem, OpenSSL dev package is needed.\n+\n+cf. [Installing puma on windows](https://github.com/hicknhack-software/rails-disco/wiki/Installing-puma-on-windows)\n+\n+1. download [OpenSSL Developer Package](http://packages.openknapsack.org/openssl/openssl-1.0.0k-x86-windows.tar.lzma)\n+2. unpack that tar.lzma (use [Explzh (x86)](http://www.ponsoftware.com/) or [7-Zip](http://sevenzip.osdn.jp/) etc.)\n+3. open cmd window and run `devkitvars.bat` (in Devkit directory)\n+4. gem install puma -- --with-opt-dir=c:\\path\\to\\openssl\n+\n+### retry\n+\n+    bundle install\n+\n+Run Noazami\n+----------\n+\n+open cmd window\n+\n+    cd server\n+    bundle exec puma -p3000 config.ru\n+\n+access http://localhost:3000/\n+\n+but strings in source codes are like `繝槭ず縺ｧ`\n+\n+so\n+\n+    bundle exec ruby -E UTF-8 c:\\path\\to\\ruby-2.2.2-x64-mingw32\\bin\\puma -p3000 config.ru","path":"windows.md","position":56,"original_position":56,"commit_id":"dd33c2895f87c38e372337340620a8cc259ffc46","original_commit_id":"dd33c2895f87c38e372337340620a8cc259ffc46","user":{"login":"ne-sachirou","id":452772,"avatar_url":"https://avatars.githubusercontent.com/u/452772?v=3","gravatar_id":"","url":"https://api.github.com/users/ne-sachirou","html_url":"https://github.com/ne-sachirou","followers_url":"https://api.github.com/users/ne-sachirou/followers","following_url":"https://api.github.com/users/ne-sachirou/following{/other_user}","gists_url":"https://api.github.com/users/ne-sachirou/gists{/gist_id}","starred_url":"https://api.github.com/users/ne-sachirou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ne-sachirou/subscriptions","organizations_url":"https://api.github.com/users/ne-sachirou/orgs","repos_url":"https://api.github.com/users/ne-sachirou/repos","events_url":"https://api.github.com/users/ne-sachirou/events{/privacy}","received_events_url":"https://api.github.com/users/ne-sachirou/received_events","type":"User","site_admin":false},"body":"Ruby 2.0から内部エンコーディングも外部エンコーディングもデフォルトがutf-8になった筈。Windowsのpath名のエンコーディングは怪しいが…。どうしてこんなものが必要な羽目になってしまってゐるのだ… (知りたい)。","created_at":"2015-05-26T16:22:41Z","updated_at":"2015-05-26T16:22:41Z","html_url":"https://github.com/ne-sachirou/Noazami/pull/5#discussion_r31052024","pull_request_url":"https://api.github.com/repos/ne-sachirou/Noazami/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/ne-sachirou/Noazami/pulls/comments/31052024"},"html":{"href":"https://github.com/ne-sachirou/Noazami/pull/5#discussion_r31052024"},"pull_request":{"href":"https://api.github.com/repos/ne-sachirou/Noazami/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/ne-sachirou/Noazami/pulls/5","id":36208887,"html_url":"https://github.com/ne-sachirou/Noazami/pull/5","diff_url":"https://github.com/ne-sachirou/Noazami/pull/5.diff","patch_url":"https://github.com/ne-sachirou/Noazami/pull/5.patch","issue_url":"https://api.github.com/repos/ne-sachirou/Noazami/issues/5","number":5,"state":"open","locked":false,"title":"widnows help","user":{"login":"Narazaka","id":1712548,"avatar_url":"https://avatars.githubusercontent.com/u/1712548?v=3","gravatar_id":"","url":"https://api.github.com/users/Narazaka","html_url":"https://github.com/Narazaka","followers_url":"https://api.github.com/users/Narazaka/followers","following_url":"https://api.github.com/users/Narazaka/following{/other_user}","gists_url":"https://api.github.com/users/Narazaka/gists{/gist_id}","starred_url":"https://api.github.com/users/Narazaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Narazaka/subscriptions","organizations_url":"https://api.github.com/users/Narazaka/orgs","repos_url":"https://api.github.com/users/Narazaka/repos","events_url":"https://api.github.com/users/Narazaka/events{/privacy}","received_events_url":"https://api.github.com/users/Narazaka/received_events","type":"User","site_admin":false},"body":"#4","created_at":"2015-05-26T14:38:17Z","updated_at":"2015-05-26T16:22:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0c4e924eb03f7523b74371939d16988ce205ad94","assignee":{"login":"ne-sachirou","id":452772,"avatar_url":"https://avatars.githubusercontent.com/u/452772?v=3","gravatar_id":"","url":"https://api.github.com/users/ne-sachirou","html_url":"https://github.com/ne-sachirou","followers_url":"https://api.github.com/users/ne-sachirou/followers","following_url":"https://api.github.com/users/ne-sachirou/following{/other_user}","gists_url":"https://api.github.com/users/ne-sachirou/gists{/gist_id}","starred_url":"https://api.github.com/users/ne-sachirou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ne-sachirou/subscriptions","organizations_url":"https://api.github.com/users/ne-sachirou/orgs","repos_url":"https://api.github.com/users/ne-sachirou/repos","events_url":"https://api.github.com/users/ne-sachirou/events{/privacy}","received_events_url":"https://api.github.com/users/ne-sachirou/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/ne-sachirou/Noazami/pulls/5/commits","review_comments_url":"https://api.github.com/repos/ne-sachirou/Noazami/pulls/5/comments","review_comment_url":"https://api.github.com/repos/ne-sachirou/Noazami/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ne-sachirou/Noazami/issues/5/comments","statuses_url":"https://api.github.com/repos/ne-sachirou/Noazami/statuses/dd33c2895f87c38e372337340620a8cc259ffc46","head":{"label":"ne-sachirou:feature/windows_help","ref":"feature/windows_help","sha":"dd33c2895f87c38e372337340620a8cc259ffc46","user":{"login":"ne-sachirou","id":452772,"avatar_url":"https://avatars.githubusercontent.com/u/452772?v=3","gravatar_id":"","url":"https://api.github.com/users/ne-sachirou","html_url":"https://github.com/ne-sachirou","followers_url":"https://api.github.com/users/ne-sachirou/followers","following_url":"https://api.github.com/users/ne-sachirou/following{/other_user}","gists_url":"https://api.github.com/users/ne-sachirou/gists{/gist_id}","starred_url":"https://api.github.com/users/ne-sachirou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ne-sachirou/subscriptions","organizations_url":"https://api.github.com/users/ne-sachirou/orgs","repos_url":"https://api.github.com/users/ne-sachirou/repos","events_url":"https://api.github.com/users/ne-sachirou/events{/privacy}","received_events_url":"https://api.github.com/users/ne-sachirou/received_events","type":"User","site_admin":false},"repo":{"id":35846978,"name":"Noazami","full_name":"ne-sachirou/Noazami","owner":{"login":"ne-sachirou","id":452772,"avatar_url":"https://avatars.githubusercontent.com/u/452772?v=3","gravatar_id":"","url":"https://api.github.com/users/ne-sachirou","html_url":"https://github.com/ne-sachirou","followers_url":"https://api.github.com/users/ne-sachirou/followers","following_url":"https://api.github.com/users/ne-sachirou/following{/other_user}","gists_url":"https://api.github.com/users/ne-sachirou/gists{/gist_id}","starred_url":"https://api.github.com/users/ne-sachirou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ne-sachirou/subscriptions","organizations_url":"https://api.github.com/users/ne-sachirou/orgs","repos_url":"https://api.github.com/users/ne-sachirou/repos","events_url":"https://api.github.com/users/ne-sachirou/events{/privacy}","received_events_url":"https://api.github.com/users/ne-sachirou/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ne-sachirou/Noazami","description":"","fork":false,"url":"https://api.github.com/repos/ne-sachirou/Noazami","forks_url":"https://api.github.com/repos/ne-sachirou/Noazami/forks","keys_url":"https://api.github.com/repos/ne-sachirou/Noazami/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ne-sachirou/Noazami/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ne-sachirou/Noazami/teams","hooks_url":"https://api.github.com/repos/ne-sachirou/Noazami/hooks","issue_events_url":"https://api.github.com/repos/ne-sachirou/Noazami/issues/events{/number}","events_url":"https://api.github.com/repos/ne-sachirou/Noazami/events","assignees_url":"https://api.github.com/repos/ne-sachirou/Noazami/assignees{/user}","branches_url":"https://api.github.com/repos/ne-sachirou/Noazami/branches{/branch}","tags_url":"https://api.github.com/repos/ne-sachirou/Noazami/tags","blobs_url":"https://api.github.com/repos/ne-sachirou/Noazami/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ne-sachirou/Noazami/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ne-sachirou/Noazami/git/refs{/sha}","trees_url":"https://api.github.com/repos/ne-sachirou/Noazami/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ne-sachirou/Noazami/statuses/{sha}","languages_url":"https://api.github.com/repos/ne-sachirou/Noazami/languages","stargazers_url":"https://api.github.com/repos/ne-sachirou/Noazami/stargazers","contributors_url":"https://api.github.com/repos/ne-sachirou/Noazami/contributors","subscribers_url":"https://api.github.com/repos/ne-sachirou/Noazami/subscribers","subscription_url":"https://api.github.com/repos/ne-sachirou/Noazami/subscription","commits_url":"https://api.github.com/repos/ne-sachirou/Noazami/commits{/sha}","git_commits_url":"https://api.github.com/repos/ne-sachirou/Noazami/git/commits{/sha}","comments_url":"https://api.github.com/repos/ne-sachirou/Noazami/comments{/number}","issue_comment_url":"https://api.github.com/repos/ne-sachirou/Noazami/issues/comments{/number}","contents_url":"https://api.github.com/repos/ne-sachirou/Noazami/contents/{+path}","compare_url":"https://api.github.com/repos/ne-sachirou/Noazami/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ne-sachirou/Noazami/merges","archive_url":"https://api.github.com/repos/ne-sachirou/Noazami/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ne-sachirou/Noazami/downloads","issues_url":"https://api.github.com/repos/ne-sachirou/Noazami/issues{/number}","pulls_url":"https://api.github.com/repos/ne-sachirou/Noazami/pulls{/number}","milestones_url":"https://api.github.com/repos/ne-sachirou/Noazami/milestones{/number}","notifications_url":"https://api.github.com/repos/ne-sachirou/Noazami/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ne-sachirou/Noazami/labels{/name}","releases_url":"https://api.github.com/repos/ne-sachirou/Noazami/releases{/id}","created_at":"2015-05-18T23:00:44Z","updated_at":"2015-05-23T08:30:43Z","pushed_at":"2015-05-26T14:40:17Z","git_url":"git://github.com/ne-sachirou/Noazami.git","ssh_url":"git@github.com:ne-sachirou/Noazami.git","clone_url":"https://github.com/ne-sachirou/Noazami.git","svn_url":"https://github.com/ne-sachirou/Noazami","homepage":null,"size":204,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"ne-sachirou:master","ref":"master","sha":"43c40fea5ea8756e9e3e3be61972580709cc05c8","user":{"login":"ne-sachirou","id":452772,"avatar_url":"https://avatars.githubusercontent.com/u/452772?v=3","gravatar_id":"","url":"https://api.github.com/users/ne-sachirou","html_url":"https://github.com/ne-sachirou","followers_url":"https://api.github.com/users/ne-sachirou/followers","following_url":"https://api.github.com/users/ne-sachirou/following{/other_user}","gists_url":"https://api.github.com/users/ne-sachirou/gists{/gist_id}","starred_url":"https://api.github.com/users/ne-sachirou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ne-sachirou/subscriptions","organizations_url":"https://api.github.com/users/ne-sachirou/orgs","repos_url":"https://api.github.com/users/ne-sachirou/repos","events_url":"https://api.github.com/users/ne-sachirou/events{/privacy}","received_events_url":"https://api.github.com/users/ne-sachirou/received_events","type":"User","site_admin":false},"repo":{"id":35846978,"name":"Noazami","full_name":"ne-sachirou/Noazami","owner":{"login":"ne-sachirou","id":452772,"avatar_url":"https://avatars.githubusercontent.com/u/452772?v=3","gravatar_id":"","url":"https://api.github.com/users/ne-sachirou","html_url":"https://github.com/ne-sachirou","followers_url":"https://api.github.com/users/ne-sachirou/followers","following_url":"https://api.github.com/users/ne-sachirou/following{/other_user}","gists_url":"https://api.github.com/users/ne-sachirou/gists{/gist_id}","starred_url":"https://api.github.com/users/ne-sachirou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ne-sachirou/subscriptions","organizations_url":"https://api.github.com/users/ne-sachirou/orgs","repos_url":"https://api.github.com/users/ne-sachirou/repos","events_url":"https://api.github.com/users/ne-sachirou/events{/privacy}","received_events_url":"https://api.github.com/users/ne-sachirou/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ne-sachirou/Noazami","description":"","fork":false,"url":"https://api.github.com/repos/ne-sachirou/Noazami","forks_url":"https://api.github.com/repos/ne-sachirou/Noazami/forks","keys_url":"https://api.github.com/repos/ne-sachirou/Noazami/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ne-sachirou/Noazami/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ne-sachirou/Noazami/teams","hooks_url":"https://api.github.com/repos/ne-sachirou/Noazami/hooks","issue_events_url":"https://api.github.com/repos/ne-sachirou/Noazami/issues/events{/number}","events_url":"https://api.github.com/repos/ne-sachirou/Noazami/events","assignees_url":"https://api.github.com/repos/ne-sachirou/Noazami/assignees{/user}","branches_url":"https://api.github.com/repos/ne-sachirou/Noazami/branches{/branch}","tags_url":"https://api.github.com/repos/ne-sachirou/Noazami/tags","blobs_url":"https://api.github.com/repos/ne-sachirou/Noazami/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ne-sachirou/Noazami/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ne-sachirou/Noazami/git/refs{/sha}","trees_url":"https://api.github.com/repos/ne-sachirou/Noazami/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ne-sachirou/Noazami/statuses/{sha}","languages_url":"https://api.github.com/repos/ne-sachirou/Noazami/languages","stargazers_url":"https://api.github.com/repos/ne-sachirou/Noazami/stargazers","contributors_url":"https://api.github.com/repos/ne-sachirou/Noazami/contributors","subscribers_url":"https://api.github.com/repos/ne-sachirou/Noazami/subscribers","subscription_url":"https://api.github.com/repos/ne-sachirou/Noazami/subscription","commits_url":"https://api.github.com/repos/ne-sachirou/Noazami/commits{/sha}","git_commits_url":"https://api.github.com/repos/ne-sachirou/Noazami/git/commits{/sha}","comments_url":"https://api.github.com/repos/ne-sachirou/Noazami/comments{/number}","issue_comment_url":"https://api.github.com/repos/ne-sachirou/Noazami/issues/comments{/number}","contents_url":"https://api.github.com/repos/ne-sachirou/Noazami/contents/{+path}","compare_url":"https://api.github.com/repos/ne-sachirou/Noazami/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ne-sachirou/Noazami/merges","archive_url":"https://api.github.com/repos/ne-sachirou/Noazami/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ne-sachirou/Noazami/downloads","issues_url":"https://api.github.com/repos/ne-sachirou/Noazami/issues{/number}","pulls_url":"https://api.github.com/repos/ne-sachirou/Noazami/pulls{/number}","milestones_url":"https://api.github.com/repos/ne-sachirou/Noazami/milestones{/number}","notifications_url":"https://api.github.com/repos/ne-sachirou/Noazami/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ne-sachirou/Noazami/labels{/name}","releases_url":"https://api.github.com/repos/ne-sachirou/Noazami/releases{/id}","created_at":"2015-05-18T23:00:44Z","updated_at":"2015-05-23T08:30:43Z","pushed_at":"2015-05-26T14:40:17Z","git_url":"git://github.com/ne-sachirou/Noazami.git","ssh_url":"git@github.com:ne-sachirou/Noazami.git","clone_url":"https://github.com/ne-sachirou/Noazami.git","svn_url":"https://github.com/ne-sachirou/Noazami","homepage":null,"size":204,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ne-sachirou/Noazami/pulls/5"},"html":{"href":"https://github.com/ne-sachirou/Noazami/pull/5"},"issue":{"href":"https://api.github.com/repos/ne-sachirou/Noazami/issues/5"},"comments":{"href":"https://api.github.com/repos/ne-sachirou/Noazami/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/ne-sachirou/Noazami/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/ne-sachirou/Noazami/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ne-sachirou/Noazami/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/ne-sachirou/Noazami/statuses/dd33c2895f87c38e372337340620a8cc259ffc46"}}}}