Hi Maduranga, this is due to a very recent change in the new version of buildr. Either uninstall this version and install 1.4.21 or add these gem-lines to Gemfile and run "bundle install" before running buildr again.
Please let me know if this didn't help. Best, Tammo On Mon, Mar 16, 2015 at 2:27 PM, Maduranga Siriwardena < [email protected]> wrote: > Hi all, > > I cloned the ODE code base from [1] and tried to build. My > > - buildr version = 1.4.22 > - ruby version = 1.9.3p484 (2013-11-22 revision 43786) > - java version = 1.7.0_76 > > But I get the bellow error. > > Buildr aborted! > RuntimeError : check() method invoked in buildfile but RSpec has not been > loaded. > > Buildr prior to version 1.4.22, included rspec as a dependency but as > of version 1.4.22, it is expected users manually add RSpec to their > Gemfile. The following lines should be added to restore the version > of rspec included in 1.4.22: > > gem 'rspec-expectations', '= 2.14.3' > gem 'rspec-mocks', '= 2.14.3' > gem 'rspec-core', '= 2.14.5' > gem 'rspec', '= 2.14.1' > > /home/maduranga/gsoc/ode_github/ode/Rakefile:680:in `block (2 levels) in > distro' > /home/maduranga/gsoc/ode_github/ode/Rakefile:648:in `tap' > /home/maduranga/gsoc/ode_github/ode/Rakefile:648:in `block in distro' > > > [1] https://github.com/apache/ode > > -- > Maduranga Siriwardena > Undergraduate > Department of Computer Science and Engineering > Faculty of Engineering, University of Moratuwa. > -- Tammo van Lessen - http://www.taval.de
