{"action":"created","issue":{"url":"https://api.github.com/repos/domitry/nyaplot/issues/55","labels_url":"https://api.github.com/repos/domitry/nyaplot/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/domitry/nyaplot/issues/55/comments","events_url":"https://api.github.com/repos/domitry/nyaplot/issues/55/events","html_url":"https://github.com/domitry/nyaplot/issues/55","id":116380577,"number":55,"title":"just adding nyaplot gem (not even calling) gives me an error on osx (yosemite, 10.10.5)","user":{"login":"tansaku","id":30216,"avatar_url":"https://avatars.githubusercontent.com/u/30216?v=3","gravatar_id":"","url":"https://api.github.com/users/tansaku","html_url":"https://github.com/tansaku","followers_url":"https://api.github.com/users/tansaku/followers","following_url":"https://api.github.com/users/tansaku/following{/other_user}","gists_url":"https://api.github.com/users/tansaku/gists{/gist_id}","starred_url":"https://api.github.com/users/tansaku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tansaku/subscriptions","organizations_url":"https://api.github.com/users/tansaku/orgs","repos_url":"https://api.github.com/users/tansaku/repos","events_url":"https://api.github.com/users/tansaku/events{/privacy}","received_events_url":"https://api.github.com/users/tansaku/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-11-11T17:18:04Z","updated_at":"2015-11-17T08:30:53Z","closed_at":"2015-11-13T08:08:28Z","body":"```\r\n $ ruby lib/correlation.rb \r\n/Users/tansaku/.rvm/gems/ruby-2.2.3/gems/iruby-0.2.7/lib/iruby/utils.rb:8:in `display': undefined method `session' for nil:NilClass (NoMethodError)\r\n\tfrom /Users/tansaku/.rvm/gems/ruby-2.2.3/gems/nyaplot-0.1.6/lib/nyaplot/core.rb:45:in `init_iruby'\r\n\tfrom /Users/tansaku/.rvm/gems/ruby-2.2.3/gems/nyaplot-0.1.6/lib/nyaplot/core.rb:48:in `<module:Nyaplot>'\r\n\tfrom /Users/tansaku/.rvm/gems/ruby-2.2.3/gems/nyaplot-0.1.6/lib/nyaplot/core.rb:3:in `<top (required)>'\r\n\tfrom /Users/tansaku/.rvm/gems/ruby-2.2.3/gems/nyaplot-0.1.6/lib/nyaplot.rb:4:in `require_relative'\r\n\tfrom /Users/tansaku/.rvm/gems/ruby-2.2.3/gems/nyaplot-0.1.6/lib/nyaplot.rb:4:in `<top (required)>'\r\n\tfrom /Users/tansaku/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:128:in `require'\r\n\tfrom /Users/tansaku/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:128:in `rescue in require'\r\n\tfrom /Users/tansaku/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:39:in `require'\r\n\tfrom /Users/tansaku/.rvm/gems/ruby-2.2.3/gems/daru-0.1.1/lib/daru.rb:45:in `block in create_has_library'\r\n\tfrom /Users/tansaku/.rvm/gems/ruby-2.2.3/gems/daru-0.1.1/lib/daru/plotting/vector.rb:39:in `<top (required)>'\r\n\tfrom /Users/tansaku/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'\r\n\tfrom /Users/tansaku/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'\r\n\tfrom /Users/tansaku/.rvm/gems/ruby-2.2.3/gems/daru-0.1.1/lib/daru/vector.rb:5:in `<top (required)>'\r\n\tfrom /Users/tansaku/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'\r\n\tfrom /Users/tansaku/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'\r\n\tfrom /Users/tansaku/.rvm/gems/ruby-2.2.3/gems/daru-0.1.1/lib/daru.rb:70:in `<top (required)>'\r\n\tfrom /Users/tansaku/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'\r\n\tfrom /Users/tansaku/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'\r\n\tfrom /Users/tansaku/.rvm/gems/ruby-2.2.3/gems/statsample-2.0.1/lib/statsample.rb:25:in `<top (required)>'\r\n\tfrom /Users/tansaku/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:128:in `require'\r\n\tfrom /Users/tansaku/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:128:in `rescue in require'\r\n\tfrom /Users/tansaku/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:39:in `require'\r\n\tfrom lib/correlation.rb:2:in `<main>'\r\n```\r\n\r\nfirst two lines of the file:\r\n\r\n``ruby\r\nrequire 'iruby'\r\nrequire 'statsample'\r\n```\r\n\r\nif I remove the nyaplot gem everything runs fine :-("},"comment":{"url":"https://api.github.com/repos/domitry/nyaplot/issues/comments/157307972","html_url":"https://github.com/domitry/nyaplot/issues/55#issuecomment-157307972","issue_url":"https://api.github.com/repos/domitry/nyaplot/issues/55","id":157307972,"user":{"login":"domitry","id":481556,"avatar_url":"https://avatars.githubusercontent.com/u/481556?v=3","gravatar_id":"","url":"https://api.github.com/users/domitry","html_url":"https://github.com/domitry","followers_url":"https://api.github.com/users/domitry/followers","following_url":"https://api.github.com/users/domitry/following{/other_user}","gists_url":"https://api.github.com/users/domitry/gists{/gist_id}","starred_url":"https://api.github.com/users/domitry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domitry/subscriptions","organizations_url":"https://api.github.com/users/domitry/orgs","repos_url":"https://api.github.com/users/domitry/repos","events_url":"https://api.github.com/users/domitry/events{/privacy}","received_events_url":"https://api.github.com/users/domitry/received_events","type":"User","site_admin":false},"created_at":"2015-11-17T08:30:53Z","updated_at":"2015-11-17T08:30:53Z","body":"Maybe `require_relative` works relative to the directory where you ran `iruby notebook`.\r\nIf `require 'nyaplot'` fails, something I don't know is going in your PC."}}