{"action":"opened","issue":{"url":"https://api.github.com/repos/capistrano/capistrano/issues/1764","repository_url":"https://api.github.com/repos/capistrano/capistrano","labels_url":"https://api.github.com/repos/capistrano/capistrano/issues/1764/labels{/name}","comments_url":"https://api.github.com/repos/capistrano/capistrano/issues/1764/comments","events_url":"https://api.github.com/repos/capistrano/capistrano/issues/1764/events","html_url":"https://github.com/capistrano/capistrano/issues/1764","id":173726098,"number":1764,"title":"Capistrano in ruby script","user":{"login":"leehambley","id":18952,"avatar_url":"https://avatars.githubusercontent.com/u/18952?v=3","gravatar_id":"","url":"https://api.github.com/users/leehambley","html_url":"https://github.com/leehambley","followers_url":"https://api.github.com/users/leehambley/followers","following_url":"https://api.github.com/users/leehambley/following{/other_user}","gists_url":"https://api.github.com/users/leehambley/gists{/gist_id}","starred_url":"https://api.github.com/users/leehambley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leehambley/subscriptions","organizations_url":"https://api.github.com/users/leehambley/orgs","repos_url":"https://api.github.com/users/leehambley/repos","events_url":"https://api.github.com/users/leehambley/events{/privacy}","received_events_url":"https://api.github.com/users/leehambley/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-29T08:48:34Z","updated_at":"2016-08-29T08:48:34Z","closed_at":null,"body":"_From @ddarbyson on December 3, 2014 4:16_\n\nI could not get this to work with the following line found at http://capistranorb.com/documentation/advanced-features/capistrano-pure-ruby/\r\n\r\n```ruby\r\nDir.glob('capistrano/tasks/*.rake').each { |r| import r }\r\n```\r\n\r\nHowever, using `load` seems to work just fine\r\n```ruby\r\nDir.glob('capistrano/tasks/*.rake').each { |r| load r }\r\n```\r\n\r\n\r\n\r\n\r\n\r\n\r\n\n\n_Copied from original issue: capistrano/documentation#107_"}}
{"actor":{"display_login":"leehambley"}}