Thanks for the input, folks.  The links were quite helpful in tracking
down/fixing the problem.  Now I have a running Tracks instance!

It turns out there was a problem with Passenger (system process on
Dreamhost shared hosting), rvm (which I had to use to have the
required rubygems version), and Bundler.  I had fiddle with some rvm
and shell config, which I won't dig back through to post here unless
there's interest, and make some changes in the scripts in /config/.
See https://gist.github.com/1342098.

I'm glad to have a working Tracks to start playing using!  And I hope
to contribute to furthering the project.  Perhaps I'll start with
attempting a clean install on Dreamhost and weeding out the important
bits off my diff [linked] and update the wiki and submit a pull
request ;)

Thanks again and cheers,

Sean

On Wed, Oct 26, 2011 at 6:07 PM, Sean Leonard
<[email protected]> wrote:
> 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

On Wed, Oct 26, 2011 at 7:54 PM, Matt Rogers <[email protected]> wrote:
> I'm not much help with passenger, but does the article at
> http://www.conceptric.co.uk/developing-problems-with-bundler-rvm-and-passenger.htm
> help you out at all?

On Thu, Oct 27, 2011 at 3:48 AM, Reinier Balt <[email protected]> wrote:
> 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/
>
_______________________________________________
Tracks-discuss mailing list
[email protected]
http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss

Reply via email to