I ran into this problem last night.  I was trying to install the
do_mysql gem, which needs to build against Mysql headers.  Heroku
doesn't have Mysql installed, only PostgreSQL.  When you deployed your
app, you should have seen the process fail when trying to install the
mysql gem.  If you remove the mysql gem from your Gemfile, it should
work.

On Jan 27, 9:37 pm, anomalus <[email protected]> wrote:
> Hi.
> I'm having a bit of trouble deploying with a gem bundle. I'm using
> Rails 2.2.2, and I followed the instructions on using the gem bundler
> athttp://docs.heroku.com/gems. I get this error when requesting the
> app athttp://simple-sunset-17.heroku.com/
>
> App failed to start
> /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
> `gem_original_require': no such file to load -- /disk1/home/slugs/
> 122690_3c4a026_4491/mnt/config/../config/../vendor/bundler_gems/
> environment (LoadError)
>         from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
> 31:in `require'
>         from /disk1/home/slugs/122690_3c4a026_4491/mnt/config/../config/
> preinitializer.rb:1
>         from /disk1/home/slugs/122690_3c4a026_4491/mnt/config/boot.rb:28:in
> `load'
>         from /disk1/home/slugs/122690_3c4a026_4491/mnt/config/boot.rb:28:in
> `preinitialize'
>         from /disk1/home/slugs/122690_3c4a026_4491/mnt/config/boot.rb:10:in
> `boot!'
>         from /disk1/home/slugs/122690_3c4a026_4491/mnt/config/boot.rb:109
>         from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
> 31:in `gem_original_require'
>         from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
> 31:in `require'
>          ... 16 levels...
>         from /usr/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/builder.rb:
> 29:in `instance_eval'
>         from /usr/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/builder.rb:
> 29:in `initialize'
>         from /home/heroku_rack/heroku.ru:1:in `new'
>         from /home/heroku_rack/heroku.ru:1
>
> This is my Gemfile:
>
> bundle_path 'vendor/bundler_gems'
> gem 'rails', '2.2.2'
> gem 'mysql', '2.8.1'
> gem 'will_paginate', '2.3.11'
>
> and I have a config/preinitializer.rb file with the contents as listed
> inhttp://docs.heroku.com/gemsunder the Rails 2.x subsection.
>
> Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.

Reply via email to