beenimble
2009-Mar-20 13:36 UTC
[rspec-users] [cucumber] Sinatra "polyglot" app path error
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."]
aslak hellesoy
2009-Mar-21 15:53 UTC
[rspec-users] [cucumber] Sinatra "polyglot" app path error
On Fri, Mar 20, 2009 at 9:36 AM, beenimble <beenimble at gmail.com> wrote:> 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 >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> > [Note comment: "Force the application name because polyglot breaks the > auto-detection logic."] > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20090321/72a92770/attachment.html>