Skip to content
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

uninitialized constant Notifier #2

Closed
jeffkreeftmeijer opened this issue Nov 24, 2010 · 2 comments
Closed

uninitialized constant Notifier #2

jeffkreeftmeijer opened this issue Nov 24, 2010 · 2 comments

Comments

@jeffkreeftmeijer
Copy link

After installing notifier (0.1.1) using gem install notifier, I gave it a spin in irb:

~/sandbox/notifier$ irb
>> require 'notifier'
NameError: uninitialized constant Notifier
    from ./notifier.rb:4
    from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
    from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
    from (irb):2
@fnando
Copy link
Owner

fnando commented Nov 24, 2010

Did you load Rubygems? Try something like irb -rubygems, then require notifier. You can even run irb -rubygems -r notifier

@jeffkreeftmeijer
Copy link
Author

Rubygems is in my RUBYOPT, so that wasn't the problem. I must be going crazy, because it just started working by starting irb and requiring Notifier like I showed above. I have no clue why it went wrong in the first place.

I'll let you know when I run into this one again. Thanks. :)

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants