Hi
Can any one tell me how to run the R spec specification.
I used this gem
gem “rspec-rails”
gem ‘guard-rspec’
gem ‘spring-commands-rspec’
when I run my rspec command
it throws these errors
C:\Users\GOPIKRISHN\Desktop\M\SaaSProject>rspec
C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.2.0/lib/action
_controller/metal/strong_parameters.rb:528:in <class:Parameters>': cannot load such file -- rack/test (LoadError) from C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.2 .0/lib/action_controller/metal/strong_parameters.rb:106:in
<module:ActionContro
ller>’
from
C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.2
.0/lib/action_controller/metal/strong_parameters.rb:10:in <top (required)>' from C:/RailsInstaller/Ruby2.1.0/lib/ruby/2.1.0/rubygems/core_ext/kernel _require.rb:73:in
require’
from
C:/RailsInstaller/Ruby2.1.0/lib/ruby/2.1.0/rubygems/core_ext/kernel
_require.rb:73:in require' from C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/activesupport- 4.2.0/lib/active_support/dependencies.rb:274:in
block in require’
from
C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/activesupport-
4.2.0/lib/active_support/dependencies.rb:240:in load_dependency' from C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/activesupport- 4.2.0/lib/active_support/dependencies.rb:274:in
require’
from
C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/actionpack-4.2
.0/lib/action_controller.rb:5:in <top (required)>' from C:/RailsInstaller/Ruby2.1.0/lib/ruby/2.1.0/rubygems/core_ext/kernel _require.rb:73:in
require’
from
C:/RailsInstaller/Ruby2.1.0/lib/ruby/2.1.0/rubygems/core_ext/kernel
_require.rb:73:in require' from C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/activesupport- 4.2.0/lib/active_support/dependencies.rb:274:in
block in require’
from
C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/activesupport-
4.2.0/lib/active_support/dependencies.rb:240:in load_dependency' from C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/activesupport- 4.2.0/lib/active_support/dependencies.rb:274:in
require’
from
C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/responders-2.1
.0/lib/responders.rb:1:in <top (required)>' from C:/RailsInstaller/Ruby2.1.0/lib/ruby/2.1.0/rubygems/core_ext/kernel _require.rb:126:in
require’
from
C:/RailsInstaller/Ruby2.1.0/lib/ruby/2.1.0/rubygems/core_ext/kernel
_require.rb:126:in require' from C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/activesupport- 4.2.0/lib/active_support/dependencies.rb:274:in
block in require’
from
C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/activesupport-
4.2.0/lib/active_support/dependencies.rb:240:in load_dependency' from C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/activesupport- 4.2.0/lib/active_support/dependencies.rb:274:in
require’
from
C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/devise-3.4.1/l
ib/devise.rb:7:in <top (required)>' from C:/RailsInstaller/Ruby2.1.0/lib/ruby/2.1.0/rubygems/core_ext/kernel _require.rb:135:in
require’
from
C:/RailsInstaller/Ruby2.1.0/lib/ruby/2.1.0/rubygems/core_ext/kernel
_require.rb:135:in rescue in require' from C:/RailsInstaller/Ruby2.1.0/lib/ruby/2.1.0/rubygems/core_ext/kernel _require.rb:144:in
require’
from
C:/Users/GOPIKRISHN/Desktop/M/SaaSProject/spec/spec_helper.rb:20:in
<top (required)>' from C:/RailsInstaller/Ruby2.1.0/lib/ruby/2.1.0/rubygems/core_ext/kernel _require.rb:55:in
require’
from
C:/RailsInstaller/Ruby2.1.0/lib/ruby/2.1.0/rubygems/core_ext/kernel
_require.rb:55:in require' from C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/rspec-core-3.2 .3/lib/rspec/core/configuration.rb:1181:in
block in requires=’
from
C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/rspec-core-3.2
.3/lib/rspec/core/configuration.rb:1181:in each' from C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/rspec-core-3.2 .3/lib/rspec/core/configuration.rb:1181:in
requires=’
from
C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/rspec-core-3.2
.3/lib/rspec/core/configuration_options.rb:110:in block in process_options_into ' from C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/rspec-core-3.2 .3/lib/rspec/core/configuration_options.rb:109:in
each’
from
C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/rspec-core-3.2
.3/lib/rspec/core/configuration_options.rb:109:in process_options_into' from C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/rspec-core-3.2 .3/lib/rspec/core/configuration_options.rb:22:in
configure’
from
C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/rspec-core-3.2
.3/lib/rspec/core/runner.rb:96:in setup' from C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/rspec-core-3.2 .3/lib/rspec/core/runner.rb:85:in
run’
from
C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/rspec-core-3.2
.3/lib/rspec/core/runner.rb:70:in run' from C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/rspec-core-3.2 .3/lib/rspec/core/runner.rb:38:in
invoke’
from
C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/rspec-core-3.2
.3/exe/rspec:4:in <top (required)>' from C:/RailsInstaller/Ruby2.1.0/bin/rspec:23:in
load’
from C:/RailsInstaller/Ruby2.1.0/bin/rspec:23:in `’