If I write the following code for example in ‘Gemfile’:
group :development do
gem 'xyz'
end
group:test do
gem 'xyz'
end
What does that mean?
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can specify which gems should be installed in which environment. For example, you might wanna use SQLite for development and testing, but MySQL on production. So you would write:
Running
bundle install --without development:testwill install devise and mysql2 gems.