[katello-devel] Gemfile cleanup

David Davis daviddavis at redhat.com
Thu Nov 29 13:31:32 UTC 2012


Typically test gems have to be in development in addition to test. From the rspec-rails README:

It needs to be in the :development group to expose generators and rake tasks without having to type RAILS_ENV=test.

I'm not sure about the other gems.

David

----- Original Message -----
> From: "Lukas Zapletal" <lzap at redhat.com>
> To: katello-devel at redhat.com
> Sent: Thursday, November 29, 2012 8:20:47 AM
> Subject: [katello-devel] Gemfile cleanup
> 
> Hey,
> 
> I want to do small Gemfile cleanup merging groups together and I
> wonder
> why we do have all of those gems in both groups. Is there any reason
> for
> this?
> 
> group :test, :development do
> gem 'redcarpet'
> gem 'ZenTest', '>= 4.4.0', :require => "autotest"
> gem 'rspec-rails', '>= 2.0.0'
> gem 'autotest-rails', '>= 4.1.0'
> 
> gem 'webrat', '>=0.7.3'
> gem 'nokogiri', '>= 1.5.0'
> 
> #needed for documentation
> gem 'yard', '>= 0.5.3'
> 
> gem 'gettext', '>= 1.9.3', :require => false
> gem 'ruby_parser'
> gem 'sexp_processor' #dependency of ruby_parser
> 
> #needed to generate routes in javascript
> gem "js-routes", :require => 'js_routes'
> 
> #parallel_tests to make our specs go faster
> gem "parallel_tests"
> end
> 
> Can you help me out with identifying which should go into particular
> group? Also some gems are not needed for development, we should put
> them
> into separate groups: js-routes, gettext (isn't this only build time
> dependency?), ruby_parser and its dep (why do we have it again?).
> Also
> not sure about webrat, nokogiri and redcarpet.
> 
> --
> Later,
> 
>  Lukas "lzap" Zapletal
>  #katello #systemengine
> 
> _______________________________________________
> katello-devel mailing list
> katello-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/katello-devel
> 




More information about the katello-devel mailing list