I know there is a command to add a gem to Gemfile: bundle add GEMNAME
, but is there a similar command to add a dependency to gemspec?
Is there something like bundle add rails --gemspec
?
Is there a command that adds this line to gemspec?:
spec.add_dependency 'GEMNAME', 'GEMVERSION'