Skip to content

Commit

Permalink
wrong version of rubygems-update
Browse files Browse the repository at this point in the history
  • Loading branch information
nllong committed Feb 27, 2019
1 parent a1cf7c9 commit 1ff9363
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
8 changes: 4 additions & 4 deletions ci/appveyor/setup.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ REM If you change RUBYLIB here, make sure to change it in integration-test.ps1 a
set RUBYLIB=C:\projects\openstudio\Ruby
set PATH=C:\Ruby%RUBY_VERSION%\bin;C:\Mongodb\bin;%PATH%
cd c:\
curl -SLO https://rubygems.org/downloads/rubygems-update-2.6.7.gem
C:\Ruby%RUBY_VERSION%\bin\ruby C:\Ruby%RUBY_VERSION%\bin\gem install --local C:\rubygems-update-2.6.7.gem
REM Install rubygems-update in order to fix the SSL issue. Once updated, remove the gem.
curl -SLO https://rubygems.org/downloads/rubygems-update-2.7.8.gem
C:\Ruby%RUBY_VERSION%\bin\ruby C:\Ruby%RUBY_VERSION%\bin\gem install --local C:\rubygems-update-2.7.8.gem
C:\Ruby%RUBY_VERSION%\bin\ruby C:\Ruby%RUBY_VERSION%\bin\update_rubygems --no-ri --no-rdoc
C:\Ruby%RUBY_VERSION%\bin\ruby C:\Ruby%RUBY_VERSION%\bin\gem update --system 2.7.8
C:\Ruby%RUBY_VERSION%\bin\ruby C:\Ruby%RUBY_VERSION%\bin\gem uninstall rubygems-update -x -v 2.6.7
C:\Ruby%RUBY_VERSION%\bin\ruby C:\Ruby%RUBY_VERSION%\bin\gem uninstall rubygems-update -x -v 2.7.8
C:\Ruby%RUBY_VERSION%\bin\ruby C:\projects\openstudio-server\bin\openstudio_meta install_gems --with_test_develop --debug --verbose
cd c:\projects\openstudio-server
C:\Ruby%RUBY_VERSION%\bin\ruby C:\Ruby%RUBY_VERSION%\bin\bundle install
Expand Down
9 changes: 5 additions & 4 deletions server/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ ruby '2.2.4'

# unclear if this will actually force this version of rubygems to be used
# if not, run the following command to change system gem version:
# gem update --system 2.6.7
gem 'rubygems-update', '2.6.7'
# gem update --system 2.7.8
# gem 'rubygems-update', '2.7.8'

gem 'rails', '5.1.4'
gem 'rake', '~> 12.3'
Expand Down Expand Up @@ -116,8 +116,9 @@ group :development, :test do
gem 'ruby-prof', '~> 0.15'
gem 'selenium-webdriver'

gem 'rubocop'
gem 'rubocop-checkstyle_formatter', require: false
gem 'psych', '3.0.3'
gem 'rubocop', '0.64.0'
gem 'rubocop-checkstyle_formatter', '0.4.0', require: false

gem 'ci_reporter'
gem 'factory_bot_rails', '4.11.1' # 5.0.2 require ruby 2.3
Expand Down

0 comments on commit 1ff9363

Please sign in to comment.