[Ruby] Installing Gems on Dreamhost
Geoffrey Grosenbach
boss at topfunky.com
Mon Oct 30 06:47:48 PST 2006
On Oct 30, 2006, at 12:09 AM, Jordan Isip wrote:
> Does anybody know how to install gems on dreamhost (shared server)?
If you're talking about Rails, the easiest way is to unpack the gem
to the "vendor" directory and deploy it with the rest of your app. I
wrote a plugin that does this:
http://topfunky.net/svn/plugins/topfunky_power_tools
rake topfunky:freeze:others GEMS="flickr"
Then add the appropriate directory to your load path in environment.rb:
config.load_paths += %W(
#{RAILS_ROOT}/vendor/flickr
)
Geoff
......................................
Blog | http://nubyonrails.com
Podcast | http://podcast.rubyonrails.org
Workshops | http://rubyonrailsworkshops.com
Screencasts | http://peepcode.com
More information about the Ruby
mailing list