How to include a gem if server dont suport it!

how i can include a gem in my application if my hosting server didnt
allow me to install it ?

like imagemagick or will_paginate for example.

On Aug 16, 10:35 pm, Philip G. <rails-mailing-l…@andreas-
s.net> wrote:

how i can include a gem in my application if my hosting server didnt
allow me to install it ?

like imagemagick or will_paginate for example.

If you specify needed gems in environment.rb (config.gem … ) then
there are rake tasks for unpacking the gems into your app. Things
might be more interesting with something like ruby since that has
native code ( the rake tasks can also build the gems for you but I
assume you access to a machine close enough to your deployment
platform that it can compile code that runs on that) and even more
interesting with one like rmagick since that depends on the
imagemagick libraries being installed.

Fred

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs