ruby-vips
ruby-vips copied to clipboard
rake build with Rspec-2
When trying to rake build... Getting:
rake aborted!
Run gem install rspec to be able to run specs.
/Users/ddayan/git/ruby-vips/Rakefile:14
A quick fix: Open Rakefile and change - require "spec" require "spec/rake/spectask"
to - require "rspec" require "rspec/core/rake_task"
Now it will work:
/Users/ddayan/git/ruby-vips/Rakefile:20
- Spec is deprecated.
- RSpec is the new top-level module in RSpec-2
DEPRECATION WARNING: you are using deprecated behaviour that will be removed from a future version of RSpec.
/Users/ddayan/git/ruby-vips/Rakefile:20
- Spec::Rake::SpecTask is deprecated.
- please use RSpec::Core::RakeTask instead.
Successfully built RubyGem Name: ruby-vips Version: 0.1.0 File: ruby-vips-0.1.0.gem
It works! But I guess that rspec support should be updated :)
Same here. My workaround was to use RSpec 1.3 to build ruby-vips, but I would be happy to have it work with RSpec 2.0.