{"action":"closed","issue":{"url":"https://api.github.com/repos/goofansu/wechat-starter/issues/22","repository_url":"https://api.github.com/repos/goofansu/wechat-starter","labels_url":"https://api.github.com/repos/goofansu/wechat-starter/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/goofansu/wechat-starter/issues/22/comments","events_url":"https://api.github.com/repos/goofansu/wechat-starter/issues/22/events","html_url":"https://github.com/goofansu/wechat-starter/issues/22","id":174226922,"number":22,"title":"脱离Figaro，便于使用wechat的命令","user":{"login":"goofansu","id":1143191,"avatar_url":"https://avatars.githubusercontent.com/u/1143191?v=3","gravatar_id":"","url":"https://api.github.com/users/goofansu","html_url":"https://github.com/goofansu","followers_url":"https://api.github.com/users/goofansu/followers","following_url":"https://api.github.com/users/goofansu/following{/other_user}","gists_url":"https://api.github.com/users/goofansu/gists{/gist_id}","starred_url":"https://api.github.com/users/goofansu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goofansu/subscriptions","organizations_url":"https://api.github.com/users/goofansu/orgs","repos_url":"https://api.github.com/users/goofansu/repos","events_url":"https://api.github.com/users/goofansu/events{/privacy}","received_events_url":"https://api.github.com/users/goofansu/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2016-08-31T09:32:33Z","updated_at":"2016-10-26T08:37:47Z","closed_at":"2016-10-26T08:37:47Z","body":"因为在`wechat.yml`中使用了`Figaro`，所以[wechat gem提供的命令行](https://github.com/Eric-Guo/wechat#command-line-mode)都不能使用，会报错：\r\n\r\n```\r\n(erb):2:in `<main>': uninitialized constant Figaro (NameError)\r\n       \tfrom /app/vendor/ruby-2.2.4/lib/ruby/2.2.0/erb.rb:863:in `eval'\r\n       \tfrom /app/vendor/ruby-2.2.4/lib/ruby/2.2.0/erb.rb:863:in `result'\r\n       \tfrom /app/vendor/bundle/ruby/2.2.0/gems/wechat-0.7.15/lib/wechat/api_loader.rb:54:in `config_from_file'\r\n       \tfrom /app/vendor/bundle/ruby/2.2.0/gems/wechat-0.7.15/lib/wechat/api_loader.rb:33:in `loading_config!'\r\n       \tfrom /app/vendor/bundle/ruby/2.2.0/gems/wechat-0.7.15/lib/wechat/api_loader.rb:26:in `config'\r\n       \tfrom /app/vendor/bundle/ruby/2.2.0/gems/wechat-0.7.15/lib/wechat/api_loader.rb:4:in `with'\r\n       \tfrom /app/vendor/bundle/ruby/2.2.0/gems/wechat-0.7.15/bin/wechat:41:in `<class:App>'\r\n       \tfrom /app/vendor/bundle/ruby/2.2.0/gems/wechat-0.7.15/bin/wechat:18:in `<top (required)>'\r\n       \tfrom /app/vendor/bundle/bin/wechat:16:in `load'\r\n       \tfrom /app/vendor/bundle/bin/wechat:16:in `<main>'\r\n```"}}
{"actor":{"display_login":"Eric-Guo"}}