Skip to content

Is it correct to write dependencies in Gemfile? #5758

Closed Answered by simi
chiaraani asked this question in Q&A
Discussion options

You must be logged in to vote

That's correct. Your runtime dependencies (as mentioned in the comment) should be in gemspec. But for dev dependencies (tools useful for development) it is common to keep them in Gemfile. Alternatively you can specify them in gemspec using add_development_dependency.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by chiaraani
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants