Aaron Blohowiak on 23 Mar 2007 18:28:54 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PhillyOnRails] Installing local gems without SSH


Unpack your gems to vendor, then require them in environment.rb



Aaron Blohowiak

On Mar 23, 2007, at 2:21 PM, Farley Knight wrote:

Hi all,

This is my first post. I've been using Rails for a little while now. Here's my situation & question:

I have a client that is running Rails on a shared host, of which Cpanel/FTP is the main access point for the home directory. I noticed that there is a 'local/bin' (where ruby lives), and a 'local/lib/ruby/gems' (where the gems live). This is in contrast to an average setup which would have them installed in '/usr/bin/', '/usr/lib/ruby/gems', respectively (This is mostly Linux stuff, BTW).

So, I take it someone had to have installed them by hand into the home directory. Whether this was the 'last guy' or the web server admins, I don't know. All I know is I currently don't have access to SSH on this machine, but I have privileges in all these directories. My question is: is there some simple way to install gems by hand, or could/should I create a new directory which I "load" from? Or is there another option?

Thanks!

-Rob
_______________________________________________
To unsubscribe or change your settings, visit:

_______________________________________________
To unsubscribe or change your settings, visit:
http://lists.phillyonrails.org/mailman/listinfo/talk