# \[vlad\] How to install will\_paginate on the server?

**URL:** <https://www.ruby-forum.com/t/vlad-how-to-install-will-paginate-on-the-server/185184>\
**Category:** Deployment\
**Created:** [March 15, 2010, 6:27pm UTC](https://www.ruby-forum.com/t/vlad-how-to-install-will-paginate-on-the-server/185184 "2010-03-15T18:27:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![trapper](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/2acd7d/32.png) [@trapper](https://www.ruby-forum.com/u/trapper)\
**Post date:** [March 15, 2010, 6:27pm UTC](https://www.ruby-forum.com/t/vlad-how-to-install-will-paginate-on-the-server/185184/1 "2010-03-15T18:27:33Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![trapper](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/2acd7d/32.png) [@trapper](https://www.ruby-forum.com/u/trapper)\
**Post date:** [March 15, 2010, 10:54pm UTC](https://www.ruby-forum.com/t/vlad-how-to-install-will-paginate-on-the-server/185184/2 "2010-03-15T22:54:22Z")

</div>

Ok, I got it.

After running vlad, I logged into the server and cd’ed int the current  
folder of my application. Then run ‘rake gems:install’ - will\_paginate  
gets installed.

Then rerun vlad and it succeeds.

This is a really odd installation procedure…

---

<div class="post-metadata">

**Author:** ![trapper](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/2acd7d/32.png) [@trapper](https://www.ruby-forum.com/u/trapper)\
**Post date:** [March 17, 2010, 3:58pm UTC](https://www.ruby-forum.com/t/vlad-how-to-install-will-paginate-on-the-server/185184/3 "2010-03-17T15:58:16Z")

</div>

Isn’t it easier to use will\_paginate as a rails plugin?

Just asking.

---

<div class="post-metadata">

**Author:** ![trapper](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/2acd7d/32.png) [@trapper](https://www.ruby-forum.com/u/trapper)\
**Post date:** [March 17, 2010, 7:58pm UTC](https://www.ruby-forum.com/t/vlad-how-to-install-will-paginate-on-the-server/185184/4 "2010-03-17T19:58:14Z")

</div>

Fernando P. wrote:

> Isn’t it easier to use will\_paginate as a rails plugin?
> 
> Just asking.

Is it possible? There is no notice on installing as plugin in the docs.
