WebFaction
Community site: login faq

After I git pull my files into the hello_world directory do the bundle install then restart the server I receive this error on the site:

Ruby (Rack) application could not be started
Phusion Passenger has listed more information about the error below

Error message:
Could not find ZenTest-4.8.2 in any of the sources (Bundler::GemNotFound)

Exception class:
PhusionPassenger::UnknownError

Application root:
/home/user/webapps/rails/hellow_world

Backtrace:
0   /home/usr/webapps/rails/gems/gems/bundler-1.1.3/lib/bundler/spec_set.rb     90  in `block in materialize'
1   /home/usr/webapps/rails/gems/gems/bundler-1.1.3/lib/bundler/spec_set.rb     83  in `map!'
2   /home/usr/webapps/rails/gems/gems/bundler-1.1.3/lib/bundler/spec_set.rb     83  in `materialize'
3   /home/usr/webapps/rails/gems/gems/bundler-1.1.3/lib/bundler/definition.rb   127     in `specs'
4   /home/usr/webapps/rails/gems/gems/bundler-1.1.3/lib/bundler/definition.rb   172     in `specs_for'
5   /home/usr/webapps/rails/gems/gems/bundler-1.1.3/lib/bundler/definition.rb   161     in `requested_specs'
6   /home/usr/webapps/rails/gems/gems/bundler-1.1.3/lib/bundler/environment.rb  23  in `requested_specs'
7   /home/usr/webapps/rails/gems/gems/bundler-1.1.3/lib/bundler/runtime.rb  11  in `setup'
8   /home/usr/webapps/rails/gems/gems/bundler-1.1.3/lib/bundler.rb  107     in `setup'

I must have directed the app to the wrong directory for the gems or added a path that I shouldn't have. If I ssh in and type:

$ gem list

*** LOCAL GEMS ***

actionmailer (3.2.8)
actionpack (3.2.8)
activemodel (3.2.8)
activerecord (3.2.8)
activeresource (3.2.8)
activesupport (3.2.8)
arel (3.0.2)
autotest-rails-pure (4.1.2)
bigdecimal (1.1.0)
bson (1.7.0)
bson_ext (1.7.0)
builder (3.0.3)
bundler (1.2.1)
coffee-rails (3.2.2)
coffee-script (2.2.0)
coffee-script-source (1.3.3)
daemon_controller (1.0.0)
diff-lcs (1.1.3)
erubis (2.7.0)
execjs (1.4.0)
fastthread (1.0.7)
hike (1.2.1)
i18n (0.6.1)
io-console (0.3)
journey (1.0.4)
jquery-rails (2.1.3)
json (1.7.5, 1.5.4)
mail (2.4.4)
mime-types (1.19)
minitest (2.5.1)
mongo (1.7.0)
mongo_mapper (0.12.0)
multi_json (1.3.6)
passenger (3.0.17)
plucky (0.5.2)
polyglot (0.3.3)
rack (1.4.1)
rack-cache (1.2)
rack-ssl (1.3.2)
rack-test (0.6.2)
rails (3.2.8)
railties (3.2.8)
rake (0.9.2.2)
rdoc (3.12, 3.9.4)
rspec (2.11.0)
rspec-core (2.11.1)
rspec-expectations (2.11.3)
rspec-mocks (2.11.3)
rspec-rails (2.11.0)
sass (3.2.1)
sass-rails (3.2.5)
spork (0.9.2)
sprockets (2.1.3)
sqlite3 (1.3.6)
thor (0.16.0)
tilt (1.3.3)
treetop (1.4.10)
tzinfo (0.3.33)
uglifier (1.3.0)
webrat-rspec-rails (0.1.1)
ZenTest (4.8.2)

The place that is confusing me is why does it say it can't find the ZenTest gem when it is in the gem list?

asked 04 Oct '12, 17:31

gmaniac
1536
accept rate: 0%

edited 04 Oct '12, 17:33

Have you managed to resolve this? I've checked on your server and the application appears to be running at the moment. -Wayne K, WebFaction Customer Support

(04 Oct '12, 18:53) waynek

No this has not been resolved. It is on another account..

(04 Oct '12, 22:51) gmaniac

Could I ask you to please log a support ticket from the other account so that we may better assist you?

(05 Oct '12, 00:33) waynek

Ticket has been submitted. I'll post the problem and solution once it has been resolved.

(05 Oct '12, 08:30) gmaniac

I ended up fixing this by scrapping the hello_world and clone into a new app and changing the nginx.conf file to point to my new app.

root               /home/energylink/webapps/rails/newapp/public;

I also had to added:

rails_env          development;

so that I could see why it wouldn't display my site.

I also had to add to my gemfile

# Fix execjs runtime error
gem 'execjs'
gem 'therubyracer'

This fixed a runtime error I was receiving. Now it is working correctly, hope this helps someone who has the same error.

permanent link

answered 05 Oct '12, 10:44

gmaniac
1536
accept rate: 0%

edited 05 Oct '12, 10:46

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×11
×8
×2
×1
×1

question asked: 04 Oct '12, 17:31

question was seen: 4,658 times

last updated: 05 Oct '12, 10:46

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2020 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM