I have just installed cucumber in a rails application following the instructions in the wiki http://github.com/aslakhellesoy/cucumber/wikis/ruby-on-rails How I have to specify the configuration option for using cucumber in spanish language? Is there a file cucumber.opts in some folder? or have I to modify some rakefile? Thanks. Juanma Cervera -- Posted via http://www.ruby-forum.com/.
On Fri, Sep 26, 2008 at 1:19 PM, Juanma Cervera <lists at ruby-forum.com> wrote:> I have just installed cucumber in a rails application following the > instructions in the wiki > http://github.com/aslakhellesoy/cucumber/wikis/ruby-on-rails > > How I have to specify the configuration option for using cucumber in > spanish language? >ruby script/cucumber --help There you should see that you can use --language es. You can put this in your tasks/cucumber.rake file Aslak> Is there a file cucumber.opts in some folder? > or have I to modify some rakefile? > > Thanks. > > Juanma Cervera > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users >
Thanks Aslak. when I executed "ruby script/generate cucumber", after installing the plugins, these are the folders and files that were created: features/steps features/steps/env.rb features/steps/common_webrat.rb lib/tasks lib/tasks/cucumber.rake script/cucumber.rake I think "script/cucumber.rake" must be wrong, and it must be renamed to "script/cucumber", right? And all works. aslak hellesoy wrote:> On Fri, Sep 26, 2008 at 1:19 PM, Juanma Cervera <lists at ruby-forum.com> > wrote: > > ruby script/cucumber --help > > There you should see that you can use --language es. > You can put this in your tasks/cucumber.rake file > > Aslak-- Posted via http://www.ruby-forum.com/.
On Fri, Sep 26, 2008 at 8:47 AM, Juanma Cervera <lists at ruby-forum.com> wrote:> Thanks Aslak. > > when I executed "ruby script/generate cucumber", after installing the > plugins, these are the folders and files that were created: > > features/steps > features/steps/env.rb > features/steps/common_webrat.rb > lib/tasks > lib/tasks/cucumber.rake > script/cucumber.rake > > I think "script/cucumber.rake" must be wrong, > and it must be renamed to "script/cucumber", right?And it should probably be installed the same was as script/spec so it is executable.> > And all works. > > > > > > > aslak hellesoy wrote: >> On Fri, Sep 26, 2008 at 1:19 PM, Juanma Cervera <lists at ruby-forum.com> >> wrote: >> >> ruby script/cucumber --help >> >> There you should see that you can use --language es. >> You can put this in your tasks/cucumber.rake file >> >> Aslak > > > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users >
On Fri, Sep 26, 2008 at 3:54 PM, David Chelimsky <dchelimsky at gmail.com> wrote:> On Fri, Sep 26, 2008 at 8:47 AM, Juanma Cervera <lists at ruby-forum.com> wrote: >> Thanks Aslak. >> >> when I executed "ruby script/generate cucumber", after installing the >> plugins, these are the folders and files that were created: >> >> features/steps >> features/steps/env.rb >> features/steps/common_webrat.rb >> lib/tasks >> lib/tasks/cucumber.rake >> script/cucumber.rake >> >> I think "script/cucumber.rake" must be wrong, >> and it must be renamed to "script/cucumber", right? > > And it should probably be installed the same was as script/spec so it > is executable. >Yep folks - you''re both right. Fixed now: http://github.com/aslakhellesoy/cucumber/commit/bf6d795e6b716f4e56fe97eb221d3e0d88678800 I almost forgot - we have Russian now. I want me some Urdu and Arabic! Keep those languages coming! http://github.com/aslakhellesoy/cucumber/commit/066b1c9f133322e2a8cf2e3ef9cbd98ac4f3cb75 Aslak>> >> And all works. >> >> >> >> >> >> >> aslak hellesoy wrote: >>> On Fri, Sep 26, 2008 at 1:19 PM, Juanma Cervera <lists at ruby-forum.com> >>> wrote: >>> >>> ruby script/cucumber --help >>> >>> There you should see that you can use --language es. >>> You can put this in your tasks/cucumber.rake file >>> >>> Aslak >> >> >> >> -- >> Posted via http://www.ruby-forum.com/. >> _______________________________________________ >> rspec-users mailing list >> rspec-users at rubyforge.org >> http://rubyforge.org/mailman/listinfo/rspec-users >> > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users >