{"action":"created","issue":{"url":"https://api.github.com/repos/JEG2/highline/issues/141","labels_url":"https://api.github.com/repos/JEG2/highline/issues/141/labels{/name}","comments_url":"https://api.github.com/repos/JEG2/highline/issues/141/comments","events_url":"https://api.github.com/repos/JEG2/highline/issues/141/events","html_url":"https://github.com/JEG2/highline/issues/141","id":90133981,"number":141,"title":"Fail to install from zip download","user":{"login":"StinkyDragon","id":13002785,"avatar_url":"https://avatars.githubusercontent.com/u/13002785?v=3","gravatar_id":"","url":"https://api.github.com/users/StinkyDragon","html_url":"https://github.com/StinkyDragon","followers_url":"https://api.github.com/users/StinkyDragon/followers","following_url":"https://api.github.com/users/StinkyDragon/following{/other_user}","gists_url":"https://api.github.com/users/StinkyDragon/gists{/gist_id}","starred_url":"https://api.github.com/users/StinkyDragon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StinkyDragon/subscriptions","organizations_url":"https://api.github.com/users/StinkyDragon/orgs","repos_url":"https://api.github.com/users/StinkyDragon/repos","events_url":"https://api.github.com/users/StinkyDragon/events{/privacy}","received_events_url":"https://api.github.com/users/StinkyDragon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-06-22T15:34:49Z","updated_at":"2015-06-24T01:51:06Z","closed_at":null,"body":"Hi Guys!\r\n\r\n\r\nThank you for the gem, I am certain it works great.\r\n\r\nI have initially failed to install it because\r\nthe highline.gemspec assumes I got the git repo\r\nand uses 'git ls-files' to get the file lists.\r\n\r\nBut I did not use git,\r\nI just downloaded the snapshot zip file from github:\r\nwget https://github.com/JEG2/highline/archive/v1.7.2.zip\r\n\r\n\r\nRunning 'ruby setup.rb' also fails,\r\nfirst for a duplicated index (which I removed from the code)\r\nthen for this:\r\nruby setup.rb\r\nsetup.rb:259:in `<main>': uninitialized constant Config (NameError)\r\n\r\n\r\nCloning the whole repo works,\r\nbut usually this is not my preferred method.\r\n\r\nI hope this helps to polish the code even further!"},"comment":{"url":"https://api.github.com/repos/JEG2/highline/issues/comments/114696753","html_url":"https://github.com/JEG2/highline/issues/141#issuecomment-114696753","issue_url":"https://api.github.com/repos/JEG2/highline/issues/141","id":114696753,"user":{"login":"StinkyDragon","id":13002785,"avatar_url":"https://avatars.githubusercontent.com/u/13002785?v=3","gravatar_id":"","url":"https://api.github.com/users/StinkyDragon","html_url":"https://github.com/StinkyDragon","followers_url":"https://api.github.com/users/StinkyDragon/followers","following_url":"https://api.github.com/users/StinkyDragon/following{/other_user}","gists_url":"https://api.github.com/users/StinkyDragon/gists{/gist_id}","starred_url":"https://api.github.com/users/StinkyDragon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StinkyDragon/subscriptions","organizations_url":"https://api.github.com/users/StinkyDragon/orgs","repos_url":"https://api.github.com/users/StinkyDragon/repos","events_url":"https://api.github.com/users/StinkyDragon/events{/privacy}","received_events_url":"https://api.github.com/users/StinkyDragon/received_events","type":"User","site_admin":false},"created_at":"2015-06-24T01:51:06Z","updated_at":"2015-06-24T01:51:06Z","body":"Sorry for the delayed response,\r\nmy access is intermittent.\r\n\r\na) Why not to use on-line tools to install things:\r\n\r\na1) Because on-line tools frequently pull down the 'newest and latest' version, so if someone prepares a procedure to 'install the following things' the actual version of those things will depend on when the procedure will be done. Including the actual files to be installed / applied avoids getting the wrong version, ensures getting a version that was tried and tested.\r\n\r\na2) Because applications might be installed on machines that are not connected to the internet. Procedures that say 'download X' (or 'git clone that') do not work well on those machines.\r\n\r\n\r\nb) Modifying the gemspec file\r\n\r\nb1) I understand why using the git index avoids picking up junk files, so I think this is one of those cases where one has to understand and live with the downside to get the benefit of the upside.\r\n\r\nAs long as you keep the directories clean you could just include a description of the changes to be made to the gemspec file for off-line build in the INSTALL instructions.\r\n\r\nb2) Being new, I do not use Rake, I do not have it installed, I do not even know what it is (for). Consequentially I do know what a Rakefile is.\r\n\r\nI will try a \"gem build highline.gemspec\" tomorrow on the modified gemspec file, will let you know if it works / fails.\r\n\r\n\r\nc) Thank you guys for all the help and good intention.\r\n"}}