balvig / chili

The spicy feature toggle framework for Rails
http://balvig.github.io/chili/
MIT License
214 stars 8 forks source link

fixes generated gemfile #3

Closed tapster closed 12 years ago

tapster commented 12 years ago

the generator causes the Gemfile to be invalid when there is more than 1 extension

balvig commented 12 years ago

Hey! Thanks for spotting this :) What do you think about having the chili extensions be collected into their own gem group? Ie something like:

group :test do
 gem 'timecop'
 gem 'vcr'
 gem 'webmock'
 ...
end

group :chili do
  gem 'photo_extension', path: 'vendor/chili/photo_extension'
  gem 'masonry_extension', path: 'vendor/chili/masonry_extension'
  ...
end
tapster commented 12 years ago

nice idea! would be much clearer.

balvig commented 12 years ago

Maybe this fixes the problem? :) https://github.com/balvig/chili/pull/4