method
without_groups_message
v2_6_3 -
Show latest stable
- Class:
Bundler::CLI::Common
without_groups_message()public
No documentation available.
# File lib/bundler/cli/common.rb, line 22
def self.without_groups_message
groups = Bundler.settings[:without]
group_list = [groups[0...-1].join(", "), groups[-1..-1]].
reject {|s| s.to_s.empty? }.join(" and ")
group_str = (groups.size == 1) ? "group" : "groups"
"Gems in the #{group_str} #{group_list} were not installed."
end