Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Bundle Install passes with no errors, but on visiting the site, I see an Error

If I run bundle install, the application passes, everything is properly installed.

But if I reboot nginx, and visit the site, I see the Passenger Error message.

Ruby (Rack) application could not be started

Error message:
   http://github.com/railsdog/spree.git (at master) is not checked out. Please run `bundle install` (Bundler::GitError)

Exception class:
    PhusionPassenger::UnknownError

Application root:
    /home/shadyfront/webapps/age_of_revolt/releases/20110214205657 

I also found out this :

If I do a bundle show spree, It returns :

/home/shadyfront/webapps/rails/gems/bundler/gems/spree-594cd0f5a53c 

but any of the other gems are here at:

/home/shadyfront/webapps/rails/gems/gems/ what does that mean? 

Anyone know why this might be?

Gemfile

source 'http://rubygems.org'

gem 'rails', '3.0.3'
gem 'spree', '0.5.99', :git => 'http://github.com/spree/spree.git' 
gem 'haml'
gem 'ruby-debug'
gem 'sqlite3-ruby', :require => 'sqlite3'
gem 'ckeditor', '3.4.2.pre'
# aged_revolt gem is a local gem that is generated with Spree extensions
gem "aged_revolt", :require => "aged_revolt", :path => "aged_revolt"
# this is a gem i downloaded and messed with locally
gem "spree_easy_contact", '1.0.2', :path => "#{File.expand_path(__FILE__)}/../vendor/gems/spree_easy_contact-1.0.2"
gem "honeypot-captcha"
like image 406
Trip Avatar asked Feb 14 '11 21:02

Trip


People also ask

Why is the bundle command not working?

When you get the rbenv: bundle: command not found error it is most likely the case that you have installed a new Ruby version and you are trying to run a bundle command inside an existing project directory. For every new Ruby version you install, you also need to install the Bundler gem.

How do I fix a run bundle to install missing gems?

Select Tools | Bundler | Install from the main menu. Open the Gemfile, place the caret at any highlighted gem missing in the project SDK and press Alt+Enter . Select Install missing gems using 'bundler' and press Enter .

What is the difference between bundle install and bundle update?

lock . In general, you should use bundle install(1) to install the same exact gems and versions across machines. You would use bundle update to explicitly update the version of a gem.

What is bundled with in Gemfile lock?

lock file contains all the information about the gems that are currently installed. This file is created after we run the bundle install command. A Gemfile. lock has a list of the exact versions of the gems required for the application.


1 Answers

Not knowing what culminated to achieve this, I would simply try this.

bundle install spree

Looks like the repo moved to git://github.com/spree/spree.git

like image 189
Hugo Avatar answered Sep 27 '22 16:09

Hugo