{"action":"created","issue":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/14048","repository_url":"https://api.github.com/repos/NixOS/nixpkgs","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/14048/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/14048/comments","events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/14048/events","html_url":"https://github.com/NixOS/nixpkgs/issues/14048","id":142058290,"number":14048,"title":"ruby gems packaging: the howto seems not to work","user":{"login":"vcunat","id":1785925,"avatar_url":"https://avatars.githubusercontent.com/u/1785925?v=3","gravatar_id":"","url":"https://api.github.com/users/vcunat","html_url":"https://github.com/vcunat","followers_url":"https://api.github.com/users/vcunat/followers","following_url":"https://api.github.com/users/vcunat/following{/other_user}","gists_url":"https://api.github.com/users/vcunat/gists{/gist_id}","starred_url":"https://api.github.com/users/vcunat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vcunat/subscriptions","organizations_url":"https://api.github.com/users/vcunat/orgs","repos_url":"https://api.github.com/users/vcunat/repos","events_url":"https://api.github.com/users/vcunat/events{/privacy}","received_events_url":"https://api.github.com/users/vcunat/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/NixOS/nixpkgs/labels/0.kind:%20question","name":"0.kind: question","color":"84b6eb"},{"url":"https://api.github.com/repos/NixOS/nixpkgs/labels/6.topic:%20ruby","name":"6.topic: ruby","color":"fef2c0"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-03-19T12:51:36Z","updated_at":"2016-03-20T11:00:45Z","closed_at":"2016-03-19T22:03:12Z","body":"I wanted to package a gem, so I followed the nixpkgs manual on that, but the resulting executable fails with:\r\n```\r\n/nix/store/p1smzl194057x5ixk5aymkal6cwmjq3j-ruby-2.3.0-p0/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- bundler/setup (LoadError)\r\n        from /nix/store/p1smzl194057x5ixk5aymkal6cwmjq3j-ruby-2.3.0-p0/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'\r\n        from ./result/bin/fpm:16:in `<main>'\r\n```\r\nI did this on recent master; details are in the commits: https://github.com/NixOS/nixpkgs/compare/master...vcunat:p/fpm.\r\n\r\nI know very little about ruby stuff; perhaps someone else knows what's wrong: @cstrahan, @zimbatm."},"comment":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/comments/198897377","html_url":"https://github.com/NixOS/nixpkgs/issues/14048#issuecomment-198897377","issue_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/14048","id":198897377,"user":{"login":"vcunat","id":1785925,"avatar_url":"https://avatars.githubusercontent.com/u/1785925?v=3","gravatar_id":"","url":"https://api.github.com/users/vcunat","html_url":"https://github.com/vcunat","followers_url":"https://api.github.com/users/vcunat/followers","following_url":"https://api.github.com/users/vcunat/following{/other_user}","gists_url":"https://api.github.com/users/vcunat/gists{/gist_id}","starred_url":"https://api.github.com/users/vcunat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vcunat/subscriptions","organizations_url":"https://api.github.com/users/vcunat/orgs","repos_url":"https://api.github.com/users/vcunat/repos","events_url":"https://api.github.com/users/vcunat/events{/privacy}","received_events_url":"https://api.github.com/users/vcunat/received_events","type":"User","site_admin":false},"created_at":"2016-03-20T11:00:45Z","updated_at":"2016-03-20T11:00:45Z","body":"Thanks, the package now does what I need it to, so I pushed it as f9cae4f.\r\n\r\nWould you skim the example changes e5c319baa88d4 before I push them?"}}