-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Namespace should match the gem name #10
Comments
Related to this issue, in the readme, the gem that we install is called
What is the |
Hola @pboling ! that's not a gem, but the name of a namespace defined here: https://github.com/estebanz01/ruby-statistics/blob/master/lib/statistics.rb This issue is specifically to address the mismatch: the readme and the examples in the wiki, is telling you that if you Hope it helps! |
Right, I mentioned it because the README says it is a gem, but it isn't. Very confusing. I figured out that it should be added like this to a project using a Gemfile: gem 'ruby-statistics`, require: 'statistics' That's probably what the readme should say. |
well, that requires the gem in the entire project, sometimes you don't want that, you might want to use only the distributions or only an specific class. Thanks for the feedback. I'll try to come up with better wording for the README. |
Resolved in #120 |
Per this thread: https://www.reddit.com/r/ruby/comments/76vse9/rubystatistics_a_gem_for_statistical_methods_and/
It's important to have a match between the gem name and the global namespace defined. I tried to move it, but It broke all my specs and the paths didn't load as desired.
The text was updated successfully, but these errors were encountered: