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.
jjb123
August 6, 2011, 10:34am
2
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
jjb123
August 7, 2011, 3:29am
3
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]
jjb123
August 7, 2011, 12:03pm
4
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
jjb123
August 7, 2011, 11:12am
5
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
jjb123
August 8, 2011, 11:28pm
6
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.
jjb123
August 7, 2011, 6:34pm
7
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.