summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuben Davila <rdavila84@gmail.com>2017-05-05 13:10:46 -0500
committerRuben Davila <rdavila84@gmail.com>2017-05-05 13:10:46 -0500
commit4b4fc943a3f4e6379cd5f59d2a3879b8d1ebb703 (patch)
tree5da265c575d6b366ca71aa7b834cf45e56f3edaf
parentb81535351023a3b19870ce052d8c3d0563391686 (diff)
downloadgitlab-ce-4b4fc943a3f4e6379cd5f59d2a3879b8d1ebb703.tar.gz
Add ruby_parser gem for all environments.add-ruby-parser-dependency
It was only available for test and development environments and we need it to run the `rake gettext:pack` command in omnibus which doesn't have the test/dev gems installed.
-rw-r--r--Gemfile1
-rw-r--r--Gemfile.lock1
2 files changed, 2 insertions, 0 deletions
diff --git a/Gemfile b/Gemfile
index 9426a558612..5dbb0bdfddb 100644
--- a/Gemfile
+++ b/Gemfile
@@ -257,6 +257,7 @@ gem 'sentry-raven', '~> 2.4.0'
gem 'premailer-rails', '~> 1.9.0'
# I18n
+gem 'ruby_parser', '~> 3.8.4', require: false
gem 'gettext_i18n_rails', '~> 1.8.0'
gem 'gettext_i18n_rails_js', '~> 1.2.0'
gem 'gettext', '~> 3.2.2', require: false, group: :development
diff --git a/Gemfile.lock b/Gemfile.lock
index c7e3f9935da..01c35a935f2 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -1012,6 +1012,7 @@ DEPENDENCIES
rubocop-rspec (~> 1.15.0)
ruby-fogbugz (~> 0.2.1)
ruby-prof (~> 0.16.2)
+ ruby_parser (~> 3.8.4)
rufus-scheduler (~> 3.1.10)
rugged (~> 0.25.1.1)
sanitize (~> 2.0)