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"
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.
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 .
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.
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.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With