{"action":"created","issue":{"url":"https://api.github.com/repos/ClockVapor/rpi_gpio/issues/2","labels_url":"https://api.github.com/repos/ClockVapor/rpi_gpio/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/ClockVapor/rpi_gpio/issues/2/comments","events_url":"https://api.github.com/repos/ClockVapor/rpi_gpio/issues/2/events","html_url":"https://github.com/ClockVapor/rpi_gpio/issues/2","id":101293522,"number":2,"title":"Trying to run this gem within Docker, however it returns the error 'RuntimeError: this gem can only be run on a Raspberry Pi'","user":{"login":"jrobertson","id":1873,"avatar_url":"https://avatars.githubusercontent.com/u/1873?v=3","gravatar_id":"","url":"https://api.github.com/users/jrobertson","html_url":"https://github.com/jrobertson","followers_url":"https://api.github.com/users/jrobertson/followers","following_url":"https://api.github.com/users/jrobertson/following{/other_user}","gists_url":"https://api.github.com/users/jrobertson/gists{/gist_id}","starred_url":"https://api.github.com/users/jrobertson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrobertson/subscriptions","organizations_url":"https://api.github.com/users/jrobertson/orgs","repos_url":"https://api.github.com/users/jrobertson/repos","events_url":"https://api.github.com/users/jrobertson/events{/privacy}","received_events_url":"https://api.github.com/users/jrobertson/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-16T19:49:06Z","updated_at":"2015-08-18T20:51:35Z","closed_at":"2015-08-17T15:49:08Z","body":"I'm running the latest hypriot version of Raspbian (Jessie) which is running Ruby (2.2.0) inside a Docker container and I have installed the gem *rpi_gpio*. When I open an irb session and after entering `require 'rpi_gpio'`, it returns the error message <pre>RuntimeError: this gem can only be run on a Raspberry Pi </pre>\r\n\r\nCan you fix it to run without a problem inside Docker on the Raspberry Pi?"},"comment":{"url":"https://api.github.com/repos/ClockVapor/rpi_gpio/issues/comments/132347165","html_url":"https://github.com/ClockVapor/rpi_gpio/issues/2#issuecomment-132347165","issue_url":"https://api.github.com/repos/ClockVapor/rpi_gpio/issues/2","id":132347165,"user":{"login":"ClockVapor","id":2687718,"avatar_url":"https://avatars.githubusercontent.com/u/2687718?v=3","gravatar_id":"","url":"https://api.github.com/users/ClockVapor","html_url":"https://github.com/ClockVapor","followers_url":"https://api.github.com/users/ClockVapor/followers","following_url":"https://api.github.com/users/ClockVapor/following{/other_user}","gists_url":"https://api.github.com/users/ClockVapor/gists{/gist_id}","starred_url":"https://api.github.com/users/ClockVapor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ClockVapor/subscriptions","organizations_url":"https://api.github.com/users/ClockVapor/orgs","repos_url":"https://api.github.com/users/ClockVapor/repos","events_url":"https://api.github.com/users/ClockVapor/events{/privacy}","received_events_url":"https://api.github.com/users/ClockVapor/received_events","type":"User","site_admin":false},"created_at":"2015-08-18T20:51:35Z","updated_at":"2015-08-18T20:51:35Z","body":"I just updated the gem to support the latest RPi.GPIO Python module version, so it should work on all RPi models. Give it a shot! And thank you again for letting me know that it wasn't working."}}