"bundle install" fails because of git gem

Hey everyone,
I’m having an incredibly difficult time getting bundle to work
properly on my production server.

My production server setup:
Ubuntu 10.04
Ruby 1.9.2p290
Rails 3.0.4
Passenger
rvm 1.6.32

My Gemfile (relevant parts):
gem ‘linkedin’, :git => “GitHub - renatosnrg/linkedin: Ruby wrapper for the LinkedIn API

Whenever I try to do “bundle install” I get this error:
GitHub - renatosnrg/linkedin: Ruby wrapper for the LinkedIn API (at master) is not checked
out. Please run bundle install

“bundle install” works perfectly on my development machine.

Does anyone have any ideas? I have no clue how to fix this.

On Aug 6, 12:59am, jjb123 [email protected] wrote:

Hey everyone,
I’m having an incredibly difficult time getting bundle to work
properly on my production server.

Dumb question: is git installed (and is it a sufficiently recent
version that it can work with https urls) ?

Fred

Yep, it’s installed (I’ve used it on the server before). I’m not sure
but I think this has something to do with RVM changing all of the
application paths but I don’t really know how to diagnose this.

On Aug 6, 4:33am, Frederick C. [email protected]

On Sun, Aug 7, 2011 at 2:11 AM, Frederick C.
<[email protected]

wrote:

Jimmy, Fred makes a very good point. Please verify that the following
works where you’re trying to execute bundle install:

git clone GitHub - renatosnrg/linkedin: Ruby wrapper for the LinkedIn API

The above worked for me without any issues and I’m using rvm as well.

-Conrad

On Aug 7, 2:28am, jjb123 [email protected] wrote:

Yep, it’s installed (I’ve used it on the server before). I’m not sure
but I think this has something to do with RVM changing all of the
application paths but I don’t really know how to diagnose this.

Can you clone the repository in question from the command line?

Fred

Well I couldn’t figure it out so I eventually just ended up cloning
the gem to my vendor folder and including it that way.

I just checked and “git clone
GitHub - renatosnrg/linkedin: Ruby wrapper for the LinkedIn API
worked in the directory I’m trying to run “bundle install” in.