astrails / safe

simple backup for mysql, posgresql, svn and files to s3 or local filesystem
http://astrails.com/astrails-safe
MIT License
447 stars 76 forks source link

Deploy: "Missing these required gems: astrails-safe" #17

Open szTheory opened 14 years ago

szTheory commented 14 years ago

Error message: Missing these required gems: astrails-safe

In my environment.rb: config.gem "astrails-safe", :version => '0.2.7'

The app works fine in development, but when I deploy the app fails to start, giving this trace:

0   /var/rails/teknet/releases/20100310181254/vendor/rails/railties/lib/initializer.rb      336     in `abort'
1   /var/rails/teknet/releases/20100310181254/vendor/rails/railties/lib/initializer.rb  336     in `check_gem_dependencies'
2   /var/rails/teknet/releases/20100310181254/vendor/rails/railties/lib/initializer.rb  170     in `process'
3   /var/rails/teknet/releases/20100310181254/vendor/rails/railties/lib/initializer.rb  113     in `send'
4   /var/rails/teknet/releases/20100310181254/vendor/rails/railties/lib/initializer.rb  113     in `run'
5   ./config/environment.rb     13  
6   /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb     31  in `gem_original_require'
7   /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb     31  in `require'
8   /opt/passenger-2.2.4/lib/phusion_passenger/railz/application_spawner.rb     303     in `preload_application'
9   /opt/passenger-2.2.4/lib/phusion_passenger/railz/application_spawner.rb     252     in `initialize_server'
10  /opt/passenger-2.2.4/lib/phusion_passenger/utils.rb     230     in `report_app_init_status'
11  /opt/passenger-2.2.4/lib/phusion_passenger/railz/application_spawner.rb     237     in `initialize_server'
12  /opt/passenger-2.2.4/lib/phusion_passenger/abstract_server.rb   193     in `start_synchronously'
13  /opt/passenger-2.2.4/lib/phusion_passenger/abstract_server.rb   162     in `start'
14  /opt/passenger-2.2.4/lib/phusion_passenger/railz/application_spawner.rb     213     in `start'
15  /opt/passenger-2.2.4/lib/phusion_passenger/spawn_manager.rb     261     in `spawn_rails_application'
16  /opt/passenger-2.2.4/lib/phusion_passenger/abstract_server_collection.rb    126     in `lookup_or_add'
17  /opt/passenger-2.2.4/lib/phusion_passenger/spawn_manager.rb     255     in `spawn_rails_application'
18  /opt/passenger-2.2.4/lib/phusion_passenger/abstract_server_collection.rb    80  in `synchronize'
19  /opt/passenger-2.2.4/lib/phusion_passenger/abstract_server_collection.rb    79  in `synchronize'
20  /opt/passenger-2.2.4/lib/phusion_passenger/spawn_manager.rb     254     in `spawn_rails_application'
21  /opt/passenger-2.2.4/lib/phusion_passenger/spawn_manager.rb     153     in `spawn_application'
22  /opt/passenger-2.2.4/lib/phusion_passenger/spawn_manager.rb     286     in `handle_spawn_application'
23  /opt/passenger-2.2.4/lib/phusion_passenger/abstract_server.rb   351     in `__send__'
24  /opt/passenger-2.2.4/lib/phusion_passenger/abstract_server.rb   351     in `main_loop'
25  /opt/passenger-2.2.4/lib/phusion_passenger/abstract_server.rb   195     in `start_synchronously'
26  /opt/passenger-2.2.4/bin/passenger-spawn-server     61  
szTheory commented 14 years ago

Still having this issue. Any ideas?

dovadi commented 13 years ago

Have you tried?

 config.gem 'astrails-safe', :lib=>'astrails/safe', :version => '0.2.7'