vendor/bundle/bin/restclient in tdiary-5.0.5 vs vendor/bundle/bin/restclient in tdiary-5.0.6
- old
+ new
@@ -17,6 +17,11 @@
version = $1
ARGV.shift
end
end
+if Gem.respond_to?(:activate_bin_path)
load Gem.activate_bin_path('rest-client', 'restclient', version)
+else
+gem "rest-client", version
+load Gem.bin_path("rest-client", "restclient", version)
+end