Skip to content

Instantly share code, notes, and snippets.

@ShimShtein
Created May 3, 2017 09:04
Show Gist options
  • Save ShimShtein/713c416e2d3d4bfa0e6912b9043204f4 to your computer and use it in GitHub Desktop.
Save ShimShtein/713c416e2d3d4bfa0e6912b9043204f4 to your computer and use it in GitHub Desktop.
Pin gems for Foreman 1.6
diff --git a/Gemfile b/Gemfile
index b86d9ec..9eb4275 100644
--- a/Gemfile
+++ b/Gemfile
@@ -22,6 +22,14 @@ gem 'deep_cloneable', '~> 2.0'
gem 'foreigner', '~> 1.4.2'
gem 'validates_lengths_from_database', '~> 0.2.0'
+gem 'public_suffix', '<= 1.4.6'
+gem 'nokogiri', '<= 1.6.8'
+gem 'net-ssh', '<= 2.9.4'
+gem 'retriable', '<= 2.0.2'
+gem 'google-api-client', '<= 0.8.6'
+gem 'tins', '< 1.3.4'
+gem 'term-ansicolor', '<= 1.3.2'
+
if RUBY_VERSION =~ /^1\.8/
# Older version of safemode for Ruby 1.8, as the latest causes regexp overflows (#2100)
gem 'safemode', '~> 1.0.2'
diff --git a/bundler.d/console.rb b/bundler.d/console.rb
index 3bab941..18c2599 100644
--- a/bundler.d/console.rb
+++ b/bundler.d/console.rb
@@ -1,5 +1,5 @@
group :console do
- gem 'wirb'
+ gem 'wirb', '< 2.0.0'
gem 'hirb-unicode'
gem 'awesome_print', :require => 'ap'
diff --git a/bundler.d/development.rb b/bundler.d/development.rb
index faf264c..16ad25a 100644
--- a/bundler.d/development.rb
+++ b/bundler.d/development.rb
@@ -1,6 +1,6 @@
group :development do
gem 'maruku'
- gem "term-ansicolor"
+ gem "term-ansicolor", '<= 1.3.2'
# gem 'rack-mini-profiler'
# for generating i18n files
diff --git a/bundler.d/gce.rb b/bundler.d/gce.rb
index 1fc974f..631231f 100644
--- a/bundler.d/gce.rb
+++ b/bundler.d/gce.rb
@@ -1,4 +1,4 @@
group :gce do
- gem "google-api-client", :require => "google/api_client"
+ gem "google-api-client", '<= 0.8.6', :require => "google/api_client"
gem 'sshkey'
end
diff --git a/bundler.d/i18n.rb b/bundler.d/i18n.rb
index a5847d4..ed89464 100644
--- a/bundler.d/i18n.rb
+++ b/bundler.d/i18n.rb
@@ -1,5 +1,5 @@
group :i18n do
- gem 'fast_gettext', '>=0.8.0'
+ gem 'fast_gettext', '>=0.8.0', '<= 1.0.0'
gem 'gettext_i18n_rails', '~> 0.10'
gem 'gettext_i18n_rails_js', '>= 0.0.8'
gem 'i18n_data', '>= 0.2.6', :require => 'i18n_data'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment