In case of the following error when using Cucumber with Sinatra:
No such file or directory - /usr/local/lib/ruby/gems/1.8/gems/
polyglot-0.2.4/lib/views/index.erb
Implement env.rb as specified at the following link so your app and
its view path may be found (this supersedes prior examples):
http://github.com/aslakhellesoy/cucumber/blob/a478b71173a1ff92d6b5d1808e377a0a1b7aac2f/examples/sinatra/features/support/env.rb
[Note comment: “Force the application name because polyglot breaks the
auto-detection logic.”]
On Fri, Mar 20, 2009 at 9:36 AM, beenimble [email protected] wrote:
Thanks - code and wiki updated:
http://github.com/aslakhellesoy/cucumber/commit/29d83d51907b8bfa455c1a2e365c72d77655e85c
http://wiki.github.com/aslakhellesoy/cucumber/sinatra
Thanks for helping Sinatra work well with Cucumber - feel free to update
the
wiki and code with other tips and tricks.
Aslak