Giter VIP home page Giter VIP logo

Comments (4)

phinze avatar phinze commented on May 13, 2024

I think you're hitting the hyphen -> CamelCase convention in homebrew-cask.

Have a look at this line:

https://github.com/phinze/homebrew-cask/blob/c44192c1d3aefd812aabc994ff68d8f2e47b6919/lib/cask.rb#L50

Basically each hyphen-separated token is split, capitalized, and joined, so: "foo-bar-baz" becomes FooBarBaz.

So if your file was named ruby-mine.rb the code would expect RubyMine and if it was named rubymine.rb the code would expect Rubymine.

Not sure if this is exactly the issue you were seeing -- does this help clear things up at all?

from homebrew-cask.

 avatar commented on May 13, 2024

That explains it. Thanks.

On Mon, Oct 15, 2012 at 5:28 PM, Paul Hinze [email protected]:

I think you're hitting the hyphen -> CamelCase convention in homebrew-cask.

Have a look at this line:

https://github.com/phinze/homebrew-cask/blob/c44192c1d3aefd812aabc994ff68d8f2e47b6919/lib/cask.rb#L50

Basically each hyphen-separated token is split, capitalized, and joined,
so: "foo-bar-baz" becomes FooBarBaz.

So if your file was named ruby-mine.rb the code would expect RubyMine and
if it was named rubymine.rb the code would expect Rubymine.

Not sure if this is exactly the issue you were seeing -- does this help
clear things up at all?


Reply to this email directly or view it on GitHubhttps://github.com//issues/64#issuecomment-9464330.

from homebrew-cask.

mwarkentin avatar mwarkentin commented on May 13, 2024

@phinze It would be useful if this was documented on the How to Contribute page - I ran into the same issue, and had to search through the issues to find out what was going on.

from homebrew-cask.

jfsiii avatar jfsiii commented on May 13, 2024

👍

I found this page by searching for uninitialized constant after brew cask install webkit returned Error: uninitialized constant Cask::Webkit

from homebrew-cask.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.