{"action":"created","issue":{"url":"https://api.github.com/repos/glittergallery/GlitterGallery/issues/192","labels_url":"https://api.github.com/repos/glittergallery/GlitterGallery/issues/192/labels{/name}","comments_url":"https://api.github.com/repos/glittergallery/GlitterGallery/issues/192/comments","events_url":"https://api.github.com/repos/glittergallery/GlitterGallery/issues/192/events","html_url":"https://github.com/glittergallery/GlitterGallery/pull/192","id":55356650,"number":192,"title":"Nuke Gemfile.lock, do a clean bundle","user":{"login":"sarupbanskota","id":3149580,"avatar_url":"https://avatars.githubusercontent.com/u/3149580?v=3","gravatar_id":"","url":"https://api.github.com/users/sarupbanskota","html_url":"https://github.com/sarupbanskota","followers_url":"https://api.github.com/users/sarupbanskota/followers","following_url":"https://api.github.com/users/sarupbanskota/following{/other_user}","gists_url":"https://api.github.com/users/sarupbanskota/gists{/gist_id}","starred_url":"https://api.github.com/users/sarupbanskota/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sarupbanskota/subscriptions","organizations_url":"https://api.github.com/users/sarupbanskota/orgs","repos_url":"https://api.github.com/users/sarupbanskota/repos","events_url":"https://api.github.com/users/sarupbanskota/events{/privacy}","received_events_url":"https://api.github.com/users/sarupbanskota/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/glittergallery/GlitterGallery/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-01-24T03:00:25Z","updated_at":"2015-01-25T06:30:01Z","closed_at":"2015-01-25T06:30:01Z","pull_request":{"url":"https://api.github.com/repos/glittergallery/GlitterGallery/pulls/192","html_url":"https://github.com/glittergallery/GlitterGallery/pull/192","diff_url":"https://github.com/glittergallery/GlitterGallery/pull/192.diff","patch_url":"https://github.com/glittergallery/GlitterGallery/pull/192.patch"},"body":"**Please do not accept this PR until it's properly tested.**\r\n\r\nSo while at the design Hackfest, Emily and Zach had problems setting up GG locally, and it took us time to figure out what was wrong. I had set up GG on a variety of environments a week ago and had no problems, so it seemed strange to me. Now I'm beginning to find some insight.\r\n\r\nThe important problems: \r\n\r\n#### Inconsistent Ruby versions. \r\n* For me, I was on 1.9.3 all this time, because I was wrong in thinking hash syntax wouldn't be backwards compatible in Ruby 2 onward. On 1.9.3, our existing set up works completely fine.\r\n* Now I have a fresh install, with 2.2.0, and I came across a host of problems. The old Gemfile.lock has references to \"nio4r\" (I honestly didn't know why), and nio4r [only supports until 2.1.0](https://github.com/celluloid/nio4r#supported-platforms). So, that explains the issue with Zach's setup.\r\n* To experiment, I got on 2.2.0, nuked Gemfile.lock, removed version information from some Gems on the Gemfile, and rebundled from ground up. So naturally few Gems got upgraded to later versions, and the bundle went through comfortably without any errors at all. Thing to note: I wasn't building rugged off development branch, it was through whatever branch just `gem rugged` is pulling from. `gem list rugged` tells me `rugged (0.21.4)`.\r\n\r\n#### Rugged oriented problem\r\n* If I try to pull from development, it throws an error, which seems fair since I don't see any development branch on the rugged repo.\r\n* If I'm on 1.9.3 and using the current setup, everything is good. \r\n* If I'm on 2.2.0 and adding a newfile to a new GG project, I get thrown an ``undefined method `lookup' for Rugged::Remote:Class`` error. I'm attaching a screenie as well.\r\n\r\nWould some of you please try setting up GG on Ruby 2.2.0 and off this branch, and report if you have the same problem? If any of you have any insight on what could be wrong, please shoot, that saves me time I can use on fixing some features today :) Thanks!\r\n\r\n![screenshot from 2015-01-24 08 27 46](https://cloud.githubusercontent.com/assets/3149580/5885920/fa1b8fce-a3a2-11e4-8a27-e721a41d1b5a.png)\r\n"},"comment":{"url":"https://api.github.com/repos/glittergallery/GlitterGallery/issues/comments/71355870","html_url":"https://github.com/glittergallery/GlitterGallery/pull/192#issuecomment-71355870","issue_url":"https://api.github.com/repos/glittergallery/GlitterGallery/issues/192","id":71355870,"user":{"login":"sarupbanskota","id":3149580,"avatar_url":"https://avatars.githubusercontent.com/u/3149580?v=3","gravatar_id":"","url":"https://api.github.com/users/sarupbanskota","html_url":"https://github.com/sarupbanskota","followers_url":"https://api.github.com/users/sarupbanskota/followers","following_url":"https://api.github.com/users/sarupbanskota/following{/other_user}","gists_url":"https://api.github.com/users/sarupbanskota/gists{/gist_id}","starred_url":"https://api.github.com/users/sarupbanskota/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sarupbanskota/subscriptions","organizations_url":"https://api.github.com/users/sarupbanskota/orgs","repos_url":"https://api.github.com/users/sarupbanskota/repos","events_url":"https://api.github.com/users/sarupbanskota/events{/privacy}","received_events_url":"https://api.github.com/users/sarupbanskota/received_events","type":"User","site_admin":false},"created_at":"2015-01-25T06:30:01Z","updated_at":"2015-01-25T06:30:01Z","body":"@rohitpaulk I'll do it once I'm finished with some other branches I'm on.\r\nbtw, I pushed a related commit https://github.com/glittergallery/GlitterGallery/commit/6c74a024b0152067586d0d4ba2570d613bcb08d8 to your PR, so we can close this for now."}}