Eric
Eric

Reputation: 6435

How can I specify user-specific gems for my RoR app?

I am an odd-man out in that I use Windows for my client so in order to get Growl notifications, I use ruby_gntp. How can I define this gem for me alone and not pollute my co-workers' Gemfiles? This is important because they'll get exceptions about the notifications not going through when it is not relevant for them.

Upvotes: 3

Views: 40

Answers (1)

Zach Kemp
Zach Kemp

Reputation: 11904

According to the Bundler documentation, you should be able to specify a platform for Windows only:

gem 'ruby_gntp', :platforms => :mswin

Upvotes: 1

Related Questions