[rspec-users] [cucumber] Sinatra "polyglot" app path error

beenimble beenimble at gmail.com
Fri Mar 20 09:36:52 EDT 2009


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."]


More information about the rspec-users mailing list