I’ve bootstrapped a gem using hoe and its the Rakefile:
-- ruby --
require ‘rubygems’
require ‘hoe’
require ‘thor’
Hoe.plugin :bundler
Hoe.plugin :minitest
Hoe.plugin :deps
Hoe.spec ‘launchcloud’ do
developer(‘Millisami’, ‘[email protected]’)
end
vim: syntax=ruby
Since there ain’t any .gemspec, if I want to add the dependencies into
the Rakefile, where to put it?
For e.g., if I want the nokogiri gem as its dependencies, where do I
specify it just like Bundler’s Gemfile.
I’ve used the bundler plugin Hoe.plugin :bundler
and running rake bundler:gemfile
, which generates the Gemfile but where its getting
used?
Should I’ve to put require bundler/setup
? If yes, then where? If not,
how does the Gemfile gems is loaded?
If I don’t want to use that plugin, where can I put the dependencies?
Is it inside the:
Hoe.spec ‘launchcloud’ do
gem ‘nokogiri’
end
block?
Will the above work?