I ran rspec . and I and getting the following error and I need help
figuring it out asap.
~/.rvm/gems/ruby-2.0.0-p247/gems/rspec-core-2.13.1/lib/rspec/core/configuration.rb:819:in load': {application-path}/lib/templates/rspec/scaffold/controller_spec.rb:21: syntax error, unexpected '<', expecting end-of-input (SyntaxError) <% module_namespacing do -%> ^ from ~/rvm/gems/ruby-2.0.0-p247/gems/rspec-core-2.13.1/lib/rspec/core/configuration.rb:819:inblock in load_spec_files’
from
~/.rvm/gems/ruby-2.0.0-p247/gems/rspec-core-2.13.1/lib/rspec/core/configuration.rb:819:in each' from ~/.rvm/gems/ruby-2.0.0-p247/gems/rspec-core-2.13.1/lib/rspec/core/configuration.rb:819:inload_spec_files’
from
~/.rvm/gems/ruby-2.0.0-p247/gems/rspec-core-2.13.1/lib/rspec/core/command_line.rb:22:in run' from ~/.rvm/gems/ruby-2.0.0-p247/gems/rspec-core-2.13.1/lib/rspec/core/runner.rb:80:inrun’
from
~/.rvm/gems/ruby-2.0.0-p247/gems/rspec-core-2.13.1/lib/rspec/core/runner.rb:17:in
`block in autorun’
it is clearly showing the syntax error along with line where this error
is occurring , check the syntax, & may you have somewhere missing ‘<’ or
it is unnecessary present.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.