rots.git failure when installing gitorious

99 views
Skip to first unread message

JayP

unread,
Apr 4, 2012, 11:47:20 AM4/4/12
to Gitorious
Hi all,

I'm getting a bundler failure when the git-daemon tries to start up
and runs "bundle-install". The failure is https://github.com/roman/rots.git
(at master) is not checked out. Please run 'bundle install'. I do
this but I keep getting the failure. Any ideas why this happens?

Thanks,
Jay

Rodrigo Rosenfeld Rosas

unread,
Apr 4, 2012, 12:35:56 PM4/4/12
to gito...@googlegroups.com
Rots dependency was introduced by this commit where I added an integration test for OpenID authentication:

https://gitorious.org/gitorious/mainline/commit/0b83e2515ba9b0660947b68df887c8ac28ce0450?format=html

Rots is an OpenID server that I used for writing the integration test. Since starting it slowed down a bit the test suite, I created a new task for running it:

rake test:slow

But I guess Christian didn't know about it when he disabled the Rots dependency in this commit since he called it "unused dependency":

https://gitorious.org/gitorious/mainline/commit/de8f4e45203cce70ed740152182b98e409715eea?format=html

So, I think you shouldn't have this issue on latest Gitorious version, but I don't think the dependency should be removed.

It is a test-only dependency, but you're not the first to report issues with Bundler and Rots:

https://github.com/rosenfeld/gitorious-cookbooks/issues/16

This is indeed strange because in that cookbook I run bundler as "bundle --without-development --without-test", so it doesn't even try to checkout Rots.

In all reports I got all users were using Ubuntu, so I guess the same happens to you. But since I can't reproduce this I don't have a single clue on why this is happening.

Cheers,
Rodrigo.

Rodrigo Rosenfeld Rosas

unread,
Apr 7, 2012, 9:50:25 AM4/7/12
to gito...@googlegroups.com
Em 04-04-2012 13:35, Rodrigo Rosenfeld Rosas escreveu:
...

This is indeed strange because in that cookbook I run bundler as "bundle --without-development --without-test", so it doesn't even try to checkout Rots.

Okay, my bad here. I was just reading the Bundler documentation today for an unrelated reason (integration between Bundler and Maven for JRuby applications) and noticed this FAQ:

http://gembundler.com/rationale.html
----
FAQ: Why Is Bundler Downloading Gems From --without Groups?

Q: I ran bundle install --without production and bundler is still downloading the gems in the :production group. Why?
----

You can read the answer there, but the fact is that Bundler will download all dependencies for generating the Gemfile.lock.

I still don't understand why it will try to download Rots even after the Gemfile.lock was already existent, but at least I understand why you were getting issues with the Rots repository in GitHub...

Reply all
Reply to author
Forward
0 new messages