bartz
February 13, 2009, 12:05pm
1
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
bartz
February 13, 2009, 12:38pm
2
On Fri, Feb 13, 2009 at 4:47 AM, Bart Z.
[email protected] 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 63853’s gists · GitHub
The path should include ‘lib’, and you shouldn’t need the other
version resolution stuff.
HTH,
David
bartz
February 13, 2009, 2:23pm
3
On 13 feb 2009, at 12:14, David C. wrote:
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 63853’s gists · GitHub
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
bartz
February 14, 2009, 2:36pm
4
On 13 feb 2009, at 16:28, David C. wrote:
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
bartz
February 14, 2009, 5:46pm
5
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 Z.
[email protected] wrote:
wrote:
http://gist.github.com/63844
Still no dice. Weird, such a simple concept, but it just won’t work…
gr,
bartz
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users
–
Zach D.
http://www.continuousthinking.com
Technology Made for Humans by humans Data Analytics Data Analytics Data has become a critical part of business for most organizations. We work with you to ensure you have confidence in your data, can properly access it, and present it in a way that...
Est. reading time: 13 minutes
bartz
February 16, 2009, 9:28am
6
On 14-feb-2009, at 17:43, Zach D. 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 gist:65073 · GitHub
It loads cucumber, then exits without running any features.
bartz
February 13, 2009, 4:30pm
7
On Fri, Feb 13, 2009 at 6:23 AM, Bart Z.
[email protected] wrote:
into vendor/gems. After some fiddling with load paths, it works.
Alas, that didn’t work. See http://gist.github.com/63874
try “load 'cucumber.rb”