Gemfile counts as non dev. dependencies

5 views
Skip to first unread message

rogerdpack

unread,
Aug 11, 2011, 6:00:35 PM8/11/11
to jeweler.rb
Hello all.
I noticed with this project:
https://github.com/rdp/os

if I had this line in my Gemfile:

gem 'rspec', ">= 2"

Then it gets rspec added as a "runtime" dependency, or seemed to. Is
this expected?
Thanks!
-roger-

Pat Allan

unread,
Aug 11, 2011, 7:47:15 PM8/11/11
to jewel...@googlegroups.com
Yup, that's expected - if you just want it as a development dependency, put it in a development group:

group :development do
gem 'rspec', '>= 2'
end

Cheers

--
Pat

Reply all
Reply to author
Forward
0 new messages