the strangest thing is all the below was not happening before this
latest deployment, attempting to use Capistrano, didn’t work so manually
RUBYGEMS VERSION: 1.3.1
RUBY VERSION: 1.8.6
Now I am using formtastic gem for my forms.
in my environment.rb I have:
config.gem ‘justinfrench-formtastic’, :lib => ‘formtastic’, :source =>
works fine locally of course, and funny it worked the first deployment
on the same host. (Joyent shared accelerator)
Now when i deploy and restart mongrel, here’s what I get in a loop:
** Starting Rails with production environment…
Missing these required gems:
ruby 18.104.22.1688 at /usr/local/bin/ruby18
rubygems 1.3.1 at /.gem/ruby/1.8, /usr/local/lib/ruby/gems/1.8
rake gems:install to install the missing gems.
Now when I check my gems
- [I] justinfrench-formtastic
I = Installed
F = Frozen
R = Framework (loaded before rails starts)
so the gems is there right!?
I mean it was installed before the very first deployment.
and now if i run rake gems:install
rake gems:install --trace
** Invoke gems:install (first_time)
** Invoke gems:base (first_time)
** Execute gems:base
** Invoke environment (first_time)
** Execute environment
** Execute gems:install
I can also see the gem listed in the “gem list”
*** LOCAL GEMS ***
So not sure what is happening :S
Why can’t mongrel find the gem if it is installed an was working fine
Where should i even start looking! :S
Driving me nuts for days now! please help!!