I have installed;
Ruby
ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-linux]
Rails 4.2.4
gem 2.5.0
MySQL
Phusion Passenger version 5.0.21
- apache
But when I run “rake db:create --trace”
I get the following error
NoMethodError: undefined method `task’ for #Spec::Rake::SpecTask:0x007f3b57c8ef58
/home/lugala/apps/lib/tasks/rspec.rake:28:in `initialize’
/home/lugala/apps/lib/tasks/rspec.rake:58:in `new’
/home/lugala/apps/lib/tasks/rspec.rake:58:in `<top (required)>’
/home/lugala/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/railties-4.2.4/lib/rails/engine.rb:658:in `load’
/home/lugala/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/railties-4.2.4/lib/rails/engine.rb:658:in `block in run_tasks_blocks’
/home/lugala/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/railties-4.2.4/lib/rails/engine.rb:658:in `each’
/home/lugala/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/railties-4.2.4/lib/rails/engine.rb:658:in `run_tasks_blocks’
/home/lugala/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/railties-4.2.4/lib/rails/application.rb:452:in `run_tasks_blocks’
/home/lugala/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/railties-4.2.4/lib/rails/engine.rb:453:in `load_tasks’
/home/lugala/apps/Rakefile:6:in `<top (required)>’
/home/lugala/.rbenv/versions/2.2.1/lib/ruby/2.2.0/rake/rake_module.rb:28:in `load’
/home/lugala/.rbenv/versions/2.2.1/lib/ruby/2.2.0/rake/rake_module.rb:28:in `load_rakefile’
/home/lugala/.rbenv/versions/2.2.1/lib/ruby/2.2.0/rake/application.rb:689:in `raw_load_rakefile’
/home/lugala/.rbenv/versions/2.2.1/lib/ruby/2.2.0/rake/application.rb:94:in `block in load_rakefile’
/home/lugala/.rbenv/versions/2.2.1/lib/ruby/2.2.0/rake/application.rb:176:in `standard_exception_handling’
/home/lugala/.rbenv/versions/2.2.1/lib/ruby/2.2.0/rake/application.rb:93:in `load_rakefile’
/home/lugala/.rbenv/versions/2.2.1/lib/ruby/2.2.0/rake/application.rb:77:in `block in run’
/home/lugala/.rbenv/versions/2.2.1/lib/ruby/2.2.0/rake/application.rb:176:in `standard_exception_handling’
/home/lugala/.rbenv/versions/2.2.1/lib/ruby/2.2.0/rake/application.rb:75:in `run’
/home/lugala/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rake-10.4.2/bin/rake:33:in `<top (required)>’
/home/lugala/.rbenv/versions/2.2.1/bin/rake:23:in `load’
/home/lugala/.rbenv/versions/2.2.1/bin/rake:23:in `’
Help please I am stuck here