dev 1.0.71 → 1.0.72
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/dev.rb +8 -4
- metadata +1 -1
data/lib/dev.rb
CHANGED
@@ -1,10 +1,14 @@
|
|
1
1
|
require 'rubygems'
|
2
2
|
#require 'bundler/setup'
|
3
3
|
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
4
|
+
if !RUBY_PLATFORM.include?("darwin")
|
5
|
+
begin
|
6
|
+
require 'rainbow'
|
7
|
+
rescue
|
8
|
+
puts "require 'rainbow' threw an exception"
|
9
|
+
end
|
10
|
+
else
|
11
|
+
puts "skipping rainbow on mac os"
|
8
12
|
end
|
9
13
|
|
10
14
|
require 'semver'
|