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.
1711
-
Add all OS X specific gems to a `darwin` group in the Gemfile, and all Linux specific gems to a `linux` group:
1712
-
1713
-
[source,ruby]
1714
-
----
1715
-
# Gemfile
1716
-
group :darwin do
1717
-
gem 'rb-fsevent'
1718
-
gem 'growl'
1719
-
end
1720
-
1721
-
group :linux do
1722
-
gem 'rb-inotify'
1723
-
end
1724
-
----
1725
-
1726
-
To require the appropriate gems in the right environment, add the following to `config/application.rb`:
0 commit comments