D-Alex / ropencv

ffi ruby wrapper for opencv
Other
67 stars 14 forks source link

Update version #15

Closed cgat closed 10 years ago

cgat commented 10 years ago

Hi Alexander,

Any chance you'd bump the version coincide with the latest master?

When I try to bundle install ropencv via your repository I get the following message:

Using ropencv (0.0.12) from https://github.com/D-Alex/ropencv (at master) 
ropencv at /Users/cgat/.rvm/gems/ruby-1.9.3-p194/bundler/gems/ropencv-419e5f1a68e5 did not have a valid gemspec.
This prevents bundler from installing bins or native extensions, but that may not affect its functionality.
If you need to use this package without installing it from a gem repository, please contact ["Alexander.Duda@dfki.de"] and ask them to modify their .gemspec so it can work with `gem build`.
The validation message from Rubygems was:
  ["lib/ropencv/ropencv_types.rb"] are not files

Otherwise I have to use a local fork that I've built manually.

Thanks

cgat commented 10 years ago

Something I just noticed: The published version of ropencv is at version 0.0.13, while the master is at 0.0.12. Not sure that this is the cause of the problem, but it seems odd, and your gemspec looks fine ('ropencv_types.rb' is declared in your files listed).

D-Alex commented 10 years ago

I released a new gem for rbind and ropencv.

0.0.12 is just a git tag and should not interfere bundler. I guess bundler does not like that lib/ropencv/ropencv_types.rb is not checked in because it is automatically generated but part of the gem to get a proper rdoc documentation on the web. This means before the gem can be build from the gem spec ropencv has to run locally to generate ropencv_types.rb (the file is overwritten when the gem is installed).

cgat commented 10 years ago

Thanks. Much appreciated.