You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue:
When deploying a Rails app with the Ruby 2.6.2 image I'm finding that gems I have within the development and test groups of my Gemfile are being installed despite having the application setting BUNDLE_WITHOUT set.
At the point of pushing my code to the azure remote and the build starts it does say it's running it with --without development,test, but I can clearly see that the gems are being fetched and installed.
Gemfile:
group:developmentdo# Access an interactive console on exception pages or by calling 'console'# anywhere in the code.gem'listen','>= 3.0.5','< 3.2'gem'web-console','>= 3.3.0'# Spring speeds up development by keeping your application running in the# background. Read more: https://github.com/rails/springgem'spring'gem'spring-watcher-listen','~> 2.0.0'# Use Solargraph for Intellisense, linting etc.gem'solargraph'# Add rubocop-rails to get rubocop working nicely with Rails.gem'rubocop-rails'# Better errorsgem'better_errors'gem'binding_of_caller'end
Deploy output:
...
remote: Bundle install with options --without development,test
...
remote: Fetching better_errors 2.5.1
remote: Installing better_errors 2.5.1
...
remote: Fetching solargraph 0.38.5
remote: Installing solargraph 0.38.5
...
remote: Gems in the group development,test were not installed.
...
Steps to reproduce:
Set up a new Ruby on Rails app and add some gems to the development and/or test sections of the Gemfile.
Set up a new Web App using the Ruby 2.6.2 image
Add the BUNDLE_WITHOUT setting to exclude "development,test" (as per the MS documentation)
Push the app to Azure.
The text was updated successfully, but these errors were encountered:
Issue:
When deploying a Rails app with the Ruby 2.6.2 image I'm finding that gems I have within the development and test groups of my Gemfile are being installed despite having the application setting BUNDLE_WITHOUT set.
At the point of pushing my code to the azure remote and the build starts it does say it's running it with
--without development,test
, but I can clearly see that the gems are being fetched and installed.Gemfile:
Deploy output:
Steps to reproduce:
The text was updated successfully, but these errors were encountered: