I successfully installed will_paginate on my workstation and ist works
fine.
Now I want to deploy the new version via vlad to my server. I’ve
sucessfully run
gem install will_paginate
as root.
Any attempt to run
rake gems:install
from the server root folder fails with:
rake gems:install
rake aborted!
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb,
Rakefile.rb)
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2377:in
`raw_load_rakefile’
(See full trace by running task with --trace)
Running
rake vlad:update vlad:migrate vlad:start
fails with these messages:
Missing these required gems:
mislav-will_paginate ~> 2.3.2
You’re running:
ruby 1.8.6.111 at /usr/bin/ruby1.8
rubygems 1.3.5 at /home/inet/.gem/ruby/1.8, /usr/lib/ruby/gems/1.8
Run rake gems:install
to install the missing gems.
(in /home/inet/oag-server/releases/20100315163708)
rake aborted!
execution failed with status 1: ssh oag-server cd
/home/inet/oag-server/releases/20100315163708; rake RAILS_ENV=production
db:migrate
What is going wrong? Why doesn’t vlad find will_paginate?