Unlimited Shared hosting & Unlimited Disk Space from $5.95 - Dreamhost
Solid Managed VPS with 4 IP's from $60 - Liquid Web
Lightning Fast Dedicated Servers & 1GB RAM from $149 - Liquid Web
#1 Domain Registration with WHOIS Privacy - Just $9.95
This Dreamhost support thread was started by FreemanNg on 2009-10-07 02:53:27:
Post Reply? I’m having trouble getting Ruby to find a gem I installed. Here’s what I’m doing: 1. First off, I’m on a private server, if that makes a difference. 2. I run “gem install facebooker” and it seems to succeed, though it reports that it had to install to ~/.gem since “/usr/lib/ruby/gems/1.8″ is write protected. 3. I try running a simple ruby script that does nothing else but require “facebooker” and I get the following error: /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require’: no such file to load — facebooker (LoadError) tfrom /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `require’ tfrom test.rb:5 Premature end of script headers: test.rb 4. If I change the script to require the full path to the installed facebooker.rb, it gets found okay, but then an error is reported trying to load json, one of its dependencies. (I don’t understand why the already installed json gem under “/usr/lib/ruby/gems/1.8″ does get found in this case, but maybe this is a different issue.) 5. Adding the following lines to .bash_profile and then ran “source ~/.bash_profile” as instructed by the wiki (http://wiki.dreamhost.com/index.php/RubyGems) made no difference. (And anyway, .bash_profile only applies to ssh session, right?) export GEM_HOME=”$RUN/.gem/ruby/1.8″ export GEM_PATH=”$GEM_HOME:/usr/lib/ruby/gems/1.8″ export PATH=”$RUN/.gem/ruby/1.8/bin:$PATH” export RUBYLIB=”$RUN/lib:$RUBYLIB” And I’m stumped. I feel like I must be missing some obvious thing. What is it? Thanks.
Join in on the original post at the Dreamhost Forum, Sign up for Dreamhost or view our Dream Host Review.
Related Web Host Reviews
- Trouble with ioncube_loader_lin_5.2.so
- How to edit wordpress theme CSS
- Dreamhost, G-mail, Blackberry and Verizon
- Running Mercurial from the Web
- Wanting to transfer to dreamhost from GoogleApps
- can I use Django? Is there a similar CMS platform?
- problem with Account Privileges
- git installation
- New Wordpress Pharma Hack - "COMMON.PHP"
- 3 Wordpress instances in the same hosting plan
Hosting Discounts
All Hosts
- 1&1
- A Small Orange
- Aplus
- Bluehost
- BurstNET
- CalPOP
- CariNet
- CheapVPS
- DailyRazor
- Dreamhost
- DynDNS
- Eapps
- EasyCGI
- Eleven2
- Elief
- Engine Yard
- Exmasters
- Fastservers
- Fat Cow
- Fluid
- Fused Network
- Future Hosting
- Geek Storage
- Globat
- GoDaddy
- GoGrid
- Good Avocado
- HiVelocity
- HostDime
- Hostgator
- HostICan
- Hostmonster
- HostV
- HostWay
- ICDSoft
- InMotion
- iWeb
- IX
- Joyent
- JustHost
- KnownHost
- Laughing Squid
- Layered Tech
- Limestone Networks
- LiquidWeb
- Litespeed
- LunarPages
- Media Temple
- Micfo
- MidPhase
- Mosso
- Myriad Network
- NetDepot
- Netfirms
- Peer1
- ProVPS
- Rackspace
- Razorservers
- ResellerZoom
- Right Scale
- SeeksAdmin
- Servage
- ServerBeach
- ServerPronto
- ServINT
- SilverRack
- Singlehop
- SiteGround
- Slhost
- Slicehost
- Softlayer
- SolarVPS
- Steadfast Networks
- TekTonic
- The Planet
- TheNYNoc
- Thinkhost
- Ultra Hosting
- Ultra Website Hosting
- Umbra Hosting
- URLJet
- Velcom
- VolumeDrive
- Voxtreme
- VPSLand
- WebHostingPad
- WiredTree
- WireNine
- XLHost
- Yahoo
- Yourserving

