-
-
Notifications
You must be signed in to change notification settings - Fork 10.6k
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
CamelCasing cask class gives uninitialized constant? #64
Comments
I think you're hitting the hyphen -> CamelCase convention in homebrew-cask. Have a look at this line: Basically each hyphen-separated token is split, capitalized, and joined, so: So if your file was named Not sure if this is exactly the issue you were seeing -- does this help clear things up at all? |
That explains it. Thanks. On Mon, Oct 15, 2012 at 5:28 PM, Paul Hinze notifications@github.comwrote:
|
@phinze It would be useful if this was documented on the |
👍 I found this page by searching for |
…-jdk-bundled IntelliJ IDEA Ultimate 13.0.2 EAP 133.370 with bundled JRE 1.7.0_45
My commits so far haven't used proper CamelCase for the app name because when do I do, I get an uninitialized constant error.
For example:
works when I copy the rb and brew cask install it to test, but
gives me
uninitialized constant Cask::Rubymine
when I try to brew cask install
The text was updated successfully, but these errors were encountered: