Bart Zonneveld
2009-Feb-13 10:47 UTC
[rspec-users] [Cucumber] running `cucumber` without a gem
Hey list, I have a test server, which doesn''t have cucumber as gem, so I unpacked it into vendor/gems. After some fiddling with load paths, it works. However, the "binary" cucumber command won''t run, since it needs the cucumber gem. I tried adjusting that file to actually use the unpacked gem, but I can''t get it to work. What I have now is http://gist.github.com/63844 Any ideas? thanks, bartz
David Chelimsky
2009-Feb-13 11:14 UTC
[rspec-users] [Cucumber] running `cucumber` without a gem
On Fri, Feb 13, 2009 at 4:47 AM, Bart Zonneveld <zuperinfinite at gmail.com> wrote:> Hey list, > > I have a test server, which doesn''t have cucumber as gem, so I unpacked it > into vendor/gems. After some fiddling with load paths, it works. > However, the "binary" cucumber command won''t run, since it needs the > cucumber gem. I tried adjusting that file to actually use the unpacked gem, > but I can''t get it to work. What I have now is http://gist.github.com/63844I haven''t tried this, but take a peek at http://gist.github.com/63853 The path should include ''lib'', and you shouldn''t need the other version resolution stuff. HTH, David> > Any ideas? > thanks, > bartz > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users >
Bart Zonneveld
2009-Feb-13 12:23 UTC
[rspec-users] [Cucumber] running `cucumber` without a gem
On 13 feb 2009, at 12:14, David Chelimsky wrote:> On Fri, Feb 13, 2009 at 4:47 AM, Bart Zonneveld <zuperinfinite at gmail.com > > wrote: >> Hey list, >> >> I have a test server, which doesn''t have cucumber as gem, so I >> unpacked it >> into vendor/gems. After some fiddling with load paths, it works. >> However, the "binary" cucumber command won''t run, since it needs the >> cucumber gem. I tried adjusting that file to actually use the >> unpacked gem, >> but I can''t get it to work. What I have now is http://gist.github.com/63844 > > I haven''t tried this, but take a peek at http://gist.github.com/63853 > > The path should include ''lib'', and you shouldn''t need the other > version resolution stuff.Alas, that didn''t work. See http://gist.github.com/63874 thanks so far! bartz
David Chelimsky
2009-Feb-13 15:28 UTC
[rspec-users] [Cucumber] running `cucumber` without a gem
On Fri, Feb 13, 2009 at 6:23 AM, Bart Zonneveld <zuperinfinite at gmail.com> wrote:> > On 13 feb 2009, at 12:14, David Chelimsky wrote: > >> On Fri, Feb 13, 2009 at 4:47 AM, Bart Zonneveld <zuperinfinite at gmail.com> >> wrote: >>> >>> Hey list, >>> >>> I have a test server, which doesn''t have cucumber as gem, so I unpacked >>> it >>> into vendor/gems. After some fiddling with load paths, it works. >>> However, the "binary" cucumber command won''t run, since it needs the >>> cucumber gem. I tried adjusting that file to actually use the unpacked >>> gem, >>> but I can''t get it to work. What I have now is >>> http://gist.github.com/63844 >> >> I haven''t tried this, but take a peek at http://gist.github.com/63853 >> >> The path should include ''lib'', and you shouldn''t need the other >> version resolution stuff. > > Alas, that didn''t work. See http://gist.github.com/63874try "load ''cucumber.rb"> > thanks so far! > bartz > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users >
Bart Zonneveld
2009-Feb-14 12:41 UTC
[rspec-users] [Cucumber] running `cucumber` without a gem
On 13 feb 2009, at 16:28, David Chelimsky wrote:> On Fri, Feb 13, 2009 at 6:23 AM, Bart Zonneveld <zuperinfinite at gmail.com > > wrote: >> >> On 13 feb 2009, at 12:14, David Chelimsky wrote: >> >>> On Fri, Feb 13, 2009 at 4:47 AM, Bart Zonneveld <zuperinfinite at gmail.com >>> > >>> wrote: >>>> >>>> Hey list, >>>> >>>> I have a test server, which doesn''t have cucumber as gem, so I >>>> unpacked >>>> it >>>> into vendor/gems. After some fiddling with load paths, it works. >>>> However, the "binary" cucumber command won''t run, since it needs >>>> the >>>> cucumber gem. I tried adjusting that file to actually use the >>>> unpacked >>>> gem, >>>> but I can''t get it to work. What I have now is >>>> http://gist.github.com/63844 >>> >>> I haven''t tried this, but take a peek at http://gist.github.com/ >>> 63853 >>> >>> The path should include ''lib'', and you shouldn''t need the other >>> version resolution stuff. >> >> Alas, that didn''t work. See http://gist.github.com/63874 > > try "load ''cucumber.rb"Still no dice. Weird, such a simple concept, but it just won''t work... gr, bartz
Zach Dennis
2009-Feb-14 16:43 UTC
[rspec-users] [Cucumber] running `cucumber` without a gem
Is your file path wrong? I see: $:.unshift ''vendor/gems/cucumber-0.1.6/lib'' Shouldn''t that be: $:.unshift ''vendor/gems/cucumber-0.1.16/lib'' ?? On Sat, Feb 14, 2009 at 7:41 AM, Bart Zonneveld <zuperinfinite at gmail.com> wrote:> > On 13 feb 2009, at 16:28, David Chelimsky wrote: > >> On Fri, Feb 13, 2009 at 6:23 AM, Bart Zonneveld <zuperinfinite at gmail.com> >> wrote: >>> >>> On 13 feb 2009, at 12:14, David Chelimsky wrote: >>> >>>> On Fri, Feb 13, 2009 at 4:47 AM, Bart Zonneveld >>>> <zuperinfinite at gmail.com> >>>> wrote: >>>>> >>>>> Hey list, >>>>> >>>>> I have a test server, which doesn''t have cucumber as gem, so I unpacked >>>>> it >>>>> into vendor/gems. After some fiddling with load paths, it works. >>>>> However, the "binary" cucumber command won''t run, since it needs the >>>>> cucumber gem. I tried adjusting that file to actually use the unpacked >>>>> gem, >>>>> but I can''t get it to work. What I have now is >>>>> http://gist.github.com/63844 >>>> >>>> I haven''t tried this, but take a peek at http://gist.github.com/63853 >>>> >>>> The path should include ''lib'', and you shouldn''t need the other >>>> version resolution stuff. >>> >>> Alas, that didn''t work. See http://gist.github.com/63874 >> >> try "load ''cucumber.rb" > > Still no dice. Weird, such a simple concept, but it just won''t work... > > gr, > bartz > > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users >-- Zach Dennis http://www.continuousthinking.com http://www.mutuallyhuman.com
Bart Zonneveld
2009-Feb-16 08:19 UTC
[rspec-users] [Cucumber] running `cucumber` without a gem
On 14-feb-2009, at 17:43, Zach Dennis wrote:> Is your file path wrong? I see: > > $:.unshift ''vendor/gems/cucumber-0.1.6/lib'' > > Shouldn''t that be: > > $:.unshift ''vendor/gems/cucumber-0.1.16/lib''D''oh! Great catch! However, it still doesn''t work :(. See http://gist.github.com/65073 It loads cucumber, then exits without running any features.> > On Sat, Feb 14, 2009 at 7:41 AM, Bart Zonneveld > <zuperinfinite at gmail.com> wrote: >> >> On 13 feb 2009, at 16:28, David Chelimsky wrote: >> >>> On Fri, Feb 13, 2009 at 6:23 AM, Bart Zonneveld >>> <zuperinfinite at gmail.com> >>> wrote: >>>> >>>> On 13 feb 2009, at 12:14, David Chelimsky wrote: >>>> >>>>> On Fri, Feb 13, 2009 at 4:47 AM, Bart Zonneveld >>>>> <zuperinfinite at gmail.com> >>>>> wrote: >>>>>> >>>>>> Hey list, >>>>>> >>>>>> I have a test server, which doesn''t have cucumber as gem, so I >>>>>> unpacked >>>>>> it >>>>>> into vendor/gems. After some fiddling with load paths, it works. >>>>>> However, the "binary" cucumber command won''t run, since it >>>>>> needs the >>>>>> cucumber gem. I tried adjusting that file to actually use the >>>>>> unpacked >>>>>> gem, >>>>>> but I can''t get it to work. What I have now is >>>>>> http://gist.github.com/63844 >>>>> >>>>> I haven''t tried this, but take a peek at http://gist.github.com/ >>>>> 63853 >>>>> >>>>> The path should include ''lib'', and you shouldn''t need the other >>>>> version resolution stuff. >>>> >>>> Alas, that didn''t work. See http://gist.github.com/63874 >>> >>> try "load ''cucumber.rb" >> >> Still no dice. Weird, such a simple concept, but it just won''t >> work... >> >> gr, >> bartz >> >> _______________________________________________ >> rspec-users mailing list >> rspec-users at rubyforge.org >> http://rubyforge.org/mailman/listinfo/rspec-users >> > > > > -- > Zach Dennis > http://www.continuousthinking.com > http://www.mutuallyhuman.com > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users