[COOK-634] Fix a minor typo in the documentation.
@@ -7,7 +7,7 @@ This cookbook is designed to be able to describe and deploy web applications. It
* application\_nginx (nginx reverse proxy)
* application\_php (PHP with mod\_php\_apache2)
* application\_python (Django with Gunicorn)
-* application\_rails (Rails with Passenger or Unicorn)
+* application\_ruby (Rails with Passenger or Unicorn)
Backward compatibility
----------------------
@@ -100,7 +100,7 @@ def method_missing(name, *args, &block)
break
rescue NameError => e
# Works on any MRI ruby
- if e.name == resource_name.to_sym || e.inspect =~ /`#{resource_name}'/
+ if e.name == resource_name.to_sym || e.inspect =~ /\b#{resource_name}\b/
next
else
raise e