Module: Prebundle
- Defined in:
- lib/prebundle.rb,
lib/prebundle/cli.rb,
lib/prebundle/version.rb
Defined Under Namespace
Constant Summary collapse
- VERSION =
"0.2.4"
Class Method Summary collapse
Class Method Details
.distribution_class(hint = `lsb_release -sd`) ⇒ Object
7 8 9 10 11 12 |
# File 'lib/prebundle.rb', line 7 def self.distribution_class(hint = `lsb_release -sd`) case hint when /\AUbuntu/; OS::Ubuntu else raise "Unknown distribution" end end |
.list_all_gems_in_Gemfile ⇒ Object
14 15 16 |
# File 'lib/prebundle.rb', line 14 def self.list_all_gems_in_Gemfile %w[mysql2 curses] end |