{"action":"created","issue":{"url":"https://api.github.com/repos/tom-lord/regexp-examples/issues/9","repository_url":"https://api.github.com/repos/tom-lord/regexp-examples","labels_url":"https://api.github.com/repos/tom-lord/regexp-examples/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/tom-lord/regexp-examples/issues/9/comments","events_url":"https://api.github.com/repos/tom-lord/regexp-examples/issues/9/events","html_url":"https://github.com/tom-lord/regexp-examples/issues/9","id":196045263,"number":9,"title":"symlink unimplemented when installing","user":{"login":"MarioRuiz","id":459564,"avatar_url":"https://avatars.githubusercontent.com/u/459564?v=3","gravatar_id":"","url":"https://api.github.com/users/MarioRuiz","html_url":"https://github.com/MarioRuiz","followers_url":"https://api.github.com/users/MarioRuiz/followers","following_url":"https://api.github.com/users/MarioRuiz/following{/other_user}","gists_url":"https://api.github.com/users/MarioRuiz/gists{/gist_id}","starred_url":"https://api.github.com/users/MarioRuiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarioRuiz/subscriptions","organizations_url":"https://api.github.com/users/MarioRuiz/orgs","repos_url":"https://api.github.com/users/MarioRuiz/repos","events_url":"https://api.github.com/users/MarioRuiz/events{/privacy}","received_events_url":"https://api.github.com/users/MarioRuiz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-16T12:06:24Z","updated_at":"2016-12-16T14:14:31Z","closed_at":null,"body":"I get this message when installing it on windows 10:\r\nC:/Ruby22/lib/ruby/site_ruby/2.2.0/rubygems/package.rb:388:in `symlink': symlink() function is unimplemented on this machine (NotImplementedError)"},"comment":{"url":"https://api.github.com/repos/tom-lord/regexp-examples/issues/comments/267602541","html_url":"https://github.com/tom-lord/regexp-examples/issues/9#issuecomment-267602541","issue_url":"https://api.github.com/repos/tom-lord/regexp-examples/issues/9","id":267602541,"user":{"login":"tom-lord","id":7573396,"avatar_url":"https://avatars.githubusercontent.com/u/7573396?v=3","gravatar_id":"","url":"https://api.github.com/users/tom-lord","html_url":"https://github.com/tom-lord","followers_url":"https://api.github.com/users/tom-lord/followers","following_url":"https://api.github.com/users/tom-lord/following{/other_user}","gists_url":"https://api.github.com/users/tom-lord/gists{/gist_id}","starred_url":"https://api.github.com/users/tom-lord/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tom-lord/subscriptions","organizations_url":"https://api.github.com/users/tom-lord/orgs","repos_url":"https://api.github.com/users/tom-lord/repos","events_url":"https://api.github.com/users/tom-lord/events{/privacy}","received_events_url":"https://api.github.com/users/tom-lord/received_events","type":"User","site_admin":false},"created_at":"2016-12-16T14:14:31Z","updated_at":"2016-12-16T14:14:31Z","body":"Ahhh yes, Windows 10... :laughing: \r\n\r\nI have no idea why sym links aren't supported on your machine/Windows 10. However, there is currently only _one_ sym link in the gem, which you can see in [this](https://github.com/tom-lord/regexp-examples/tree/master/db) folder.\r\n\r\nThe purpose of those files is to support changes in unicode ranges mapped by named properties (e.g. `/\\p{Greek}/.random_example`) _between different ruby versions_. But, since the definitions haven't actually changed between every version, I used a sym link to optimise the data stored.\r\n\r\nI wrote that code a long time ago now, and in hindsight I think a better solution would actually be: Rather than using symbolic links at all, if there is no `pstore` file defined for your ruby version then automatically use the highest defined version below it. (E.g. if you were to run this gem with ruby `v2.5` today, then it would automatically reference the `unicode_ranges_2.4.pstore`).\r\n\r\nI'll have a dig into the code soon and work out a (fairly simple, I think) fix for you. In the meantime, you could just clone the repo, remove that one file and install them gem manually."}}
{"actor":{"display_login":"tom-lord"}}