Skip to content

Commit

Permalink
Merge pull request #7738 from claui/fix-brew-cask-list-ruby18
Browse files Browse the repository at this point in the history
Fix regression where some CLI commands break on Ruby 1.8
  • Loading branch information
rolandwalker committed Dec 2, 2014
2 parents f7fb880 + 03a8efe commit 1c5c6ae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/cask/cli/alfred.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
require 'rubygems'

class Cask::CLI::Alfred < Cask::CLI::Base
DEFAULT_SCOPES = [
'/Applications',
Expand Down
2 changes: 2 additions & 0 deletions lib/cask/source/path_base.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
require 'rubygems'

class Cask::Source::PathBase

# derived classes must define method self.me?
Expand Down

0 comments on commit 1c5c6ae

Please sign in to comment.