Hi,

This is a problem in Passenger. It cannot find the gems while you set up the
environment (RVM/Bundler) correct. I've seen a working solution by folding
the missing gems into the Tracks vendor folder.  I personally added a
.bundle/config to my Tracks install as discussed here:
http://www.getontracks.org/forums/viewthread/2220/ 

Reinier

> -----Oorspronkelijk bericht-----
> Van: [email protected] [mailto:tracks-discuss-
> [email protected]] Namens Sean Leonard
> Verzonden: donderdag 27 oktober 2011 1:07
> Aan: [email protected]
> Onderwerp: [Tracks-discuss] Dreamhost shared hosting installation
> 
> Hello,
> 
> I discovered this project and wanted to use the latest, so i am trying to
set it
> up on my Dreamhost shared hosting account.
> DreamHost is not excellent when it comes to Rails (on shared).
> 
> The simple:
> Cloned from git://github.com/TracksApp/tracks.git - branch "master" -
> commit 3fd6a8a1fa4679509ef515ce31e1943a00772311
> DreamHost is running Passenger.  Also RubyGems 1.3.7 One of the gems in
> the Gemfile required RubyGems >=1.8 , and `bundle install` failed, so i
> installed RVM and proceeded to set up an environment, and got all the gems
> to install.
> I then wrangled mysql into working by putting it in the Gemfile and
telling
> bundle where mysql_config was on the system...now i successfully `bundle
> exec rake db:migrate RAILS_ENV=production`
> 
> Now Passenger fails when i visit my site URL, with the error message
> "Bundler couldn't find some gems. Did you run `bundle install`?"  The
trace
> points to line 18 in config/preinitializer.rb I tried several leads (found
mostly
> on the Dreamhost wiki) including setting GEM_HOME and GEM_PATH in the
> config/environment.rb file and even calling `Gem.clear_paths` after
`require
> "rubygems"` in config/boot.rb
> 
> Does anyone run Tracks on Dreamhost shared hosting?  or under Passenger
> with user-specific setups?  All help is appreciated.
> 
> I have tried to be concise and hope it's not confusing.  If more complete
> pasting of backtrace, environment, etc are needed, i apologize for
spamming
> and will write up something more complete.
> 
> Thanks.
> 
> Sean Leonard
> _______________________________________________
> Tracks-discuss mailing list
> [email protected]
> http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss

_______________________________________________
Tracks-discuss mailing list
[email protected]
http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss

Reply via email to