"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 => "https://github.com/renatosnrg/linkedin.git"

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.

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.

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

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

Jimmy, Fred makes a very good point. Please verify that the following

works where you’re trying to execute bundle install:

git clone https://github.com/renatosnrg/linkedin.git

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

-Conrad

I just checked and "git clone https://github.com/renatosnrg/linkedin.git" worked in the directory I'm trying to run "bundle install" in.

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.