Hi All,
I am new to ruby web services. when i created a web service using the
ruby script/server web_service item. The service files are created and
added line config.gem 'datanoise-actionwebservice', :lib =>
'actionwebservice' in environment.rb in config folder.
when i am accessing this url http://localhost:3000/item i am getting the
following error and i have attached a screenshot of the error.
TypeError in ItemController#index
can't convert MissingSourceFile to String
RAILS_ROOT: /var/www/html/rails/reflist
Application Trace | Framework Trace | Full Trace
/home/webuser/.gem/ruby/1.9.1/gems/datanoise-actionwebservice-2.3.2/lib/action_web_service/container/action_controller_container.rb:64:in
`match'
/home/webuser/.gem/ruby/1.9.1/gems/datanoise-actionwebservice-2.3.2/lib/action_web_service/container/action_controller_container.rb:64:in
`rescue in require_web_service_api'
/home/webuser/.gem/ruby/1.9.1/gems/datanoise-actionwebservice-2.3.2/lib/action_web_service/container/action_controller_container.rb:61:in
`require_web_service_api'
/home/webuser/.gem/ruby/1.9.1/gems/datanoise-actionwebservice-2.3.2/lib/action_web_service/container/action_controller_container.rb:48:in
`web_service_api_with_require'
/home/webuser/.gem/ruby/1.9.1/gems/datanoise-actionwebservice-2.3.2/lib/action_web_service/container/action_controller_container.rb:85:in
`inherited_with_api'
/home/webuser/.gem/ruby/1.9.1/gems/datanoise-actionwebservice-2.3.2/lib/action_web_service/dispatcher/action_controller_dispatcher.rb:32:in
`inherited_with_action_controller'
/var/www/html/rails/reflist/app/controllers/application_controller.rb:4:in
`'
/var/www/html/rails/reflist/app/controllers/item_controller.rb:1:in `'
Please help me
Attachments:
http://www.ruby-forum.com/attachment/4709/ruby-error.jpg
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
No comments:
Post a Comment