Forum: RSpec [cucumber] Sinatra "polyglot" app path error

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
beenimble (Guest)
on 2009-03-21 16:40
(Received via mailing list)
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/a478...

[Note comment: "Force the application name because polyglot breaks the
auto-detection logic."]
Aslak H. (Guest)
on 2009-03-21 18:12
(Received via mailing list)
On Fri, Mar 20, 2009 at 9:36 AM, beenimble 
<removed_email_address@domain.invalid> wrote:

>
Thanks - code and wiki updated:

http://github.com/aslakhellesoy/cucumber/commit/29...
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
This topic is locked and can not be replied to.