Environment setup, ZenTest dependency version problem

20 views
Skip to first unread message

Alex Szczuczko

unread,
May 8, 2013, 7:35:29 AM5/8/13
to lagtv-...@googlegroups.com
Hi list,

I'm attempting to set up a development environment on Linux, but I'm
encountering problems with ZenTest and its RubyGems ~> 1.8 dependency.

I've been following a mixture of README and how_to_install.txt, filling
in for Linux and distro-specific stuff where required. I've tried the
process on CentOS 6.4 and Arch Linux VMs, but to equal lack of success.

The process always fails when running bundle on the cloned repo. The
first few dependencies install fine, but when installing ZenTest 4.8.2,
it fails with ZenTest requires RubyGems version ~> 1.8 . I have very
minimal ruby experience, so I had to do some research[1], but apparently
~> means "this version and every version up to and including the next
major version".

On CentOS, the packaged version is quite old (1.3.7), as you would
expect from enterprise Linux. I followed the tool's advice and performed
a self-update with gem update --system , however the problem continued
afterwards, with gems --version returning 2.0.3 . I thought maybe
that the ~> requirement might be disliking the micro version of 3, so
I tried Arch Linux, with a currently packaged version 2.0.0, but got the
same result.

So, unless my inexperience is the culprit, it would seem that the ~>
requirement is buggy. I have paste-binned the output from bundler, and
some version queries[2]. Any help anyone can provide would be appreciated.

Thanks,
Alex

[1] -
http://stackoverflow.com/questions/8182085/zentest-requires-rubygems-version-1-8
[2] - http://ix.io/5x8

Alex Szczuczko

unread,
May 8, 2013, 11:28:37 PM5/8/13
to lagtv-...@googlegroups.com
Hi,

Through trial and error, I've managed to get a superficially working
development environment going (the site loads in my browser). Deleting
the Gemfile.lock and .rvmrc files was required to get past the error I
was encountering. I found many more sticking points after that one, but
have worked past them all now I think.

I've compiled instructions[1] for what I did, though I need to go
through another pass to finalise them. I'm not yet sure what to do with
the final "Start resque worker" instruction from the readme, it just
hangs for me.

So, some progress. I hope to finalise the instructions and contribute
them to the source repo (along with some actual code hopefully!).

Alex

[1] - http://ix.io/5yh
Reply all
Reply to author
Forward
0 new messages