[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: rdoc gem dependency in bcrypt



On Mon, May 05, 2014 at 06:18:02PM +0530, Pirate Praveen wrote:
> On Monday 05 May 2014 06:14 PM, Pirate Praveen wrote:
> > Hi,
> >
> > rdoc command is bundled with ruby package but it doesn't provide a
> > gemspec. There is a separate rdoc gem and bcypt gemspec depends on it.
> > Would it be safe to remove it from bcrypt gemspec or should we package
> > rdoc separately?
> railties gemspec also mentions it as a runtime dependency.

the libruby* packages _do_ provide a gemspec for rdoc.

$ dpkg -L libruby2.0 libruby2.1  | grep rdoc.*gemspec
/usr/lib/ruby/gems/2.0.0/specifications/default/rdoc-4.0.0.gemspec
/usr/lib/ruby/gems/2.1.0/specifications/default/rdoc-4.1.0.gemspec

rubygems-integration will add those to the search path for Ruby > 2.0,
so it should just work ...

$ cat > Gemfile
gem 'rdoc'
$ bundle --local
Resolving dependencies...
Using rdoc 4.0.0
Using bundler 1.6.1
Your bundle is complete!
Use `bundle show [gemname]` to see where a bundled gem is installed]''

-- 
Antonio Terceiro <terceiro@debian.org>

Attachment: signature.asc
Description: Digital signature


Reply to: