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
OS-specific gems will by default result in a constantly changing `Gemfile.lock` for projects with multiple developers using different operating systems.
1707
-
Add all OS X specific gems to a `darwin` group in the Gemfile, and all Linux specific gems to a `linux` group:
1708
-
1709
-
[source,ruby]
1710
-
----
1711
-
# Gemfile
1712
-
group :darwin do
1713
-
gem 'rb-fsevent'
1714
-
gem 'growl'
1715
-
end
1716
-
1717
-
group :linux do
1718
-
gem 'rb-inotify'
1719
-
end
1720
-
----
1721
-
1722
-
To require the appropriate gems in the right environment, add the following to `config/application.rb`:
0 commit comments