All,

I was getting the following error:

<<
/disk1/home/slugs/377655_fdff8e6_b844-847cc755-b706-4bc4-bc3b-9927cb45f112/mnt/model/init.rb:10:
undefined method `require_relative' for main:Object (NoMethodError)
    from
/usr/ruby1.8.7/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
    from
/usr/ruby1.8.7/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
    from
/disk1/home/slugs/377655_fdff8e6_b844-847cc755-b706-4bc4-bc3b-9927cb45f112/mnt/app.rb:13
    from
/usr/ruby1.8.7/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
    from
/usr/ruby1.8.7/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
    from config.ru:18
    from /home/heroku_rack/heroku.ru:23
    from
/home/slugs/377655_fdff8e6_b844-847cc755-b706-4bc4-bc3b-9927cb45f112/mnt/.gems/gems/rack-1.2.1/lib/rack/builder.rb:46:in
`instance_eval'
    from
/home/slugs/377655_fdff8e6_b844-847cc755-b706-4bc4-bc3b-9927cb45f112/mnt/.gems/gems/rack-1.2.1/lib/rack/builder.rb:46:in
`initialize'
    from
/home/slugs/377655_fdff8e6_b844-847cc755-b706-4bc4-bc3b-9927cb45f112/mnt/.gems/gems/rack-1.2.1/lib/rack/builder.rb:63:in
`new'
    from
/home/slugs/377655_fdff8e6_b844-847cc755-b706-4bc4-bc3b-9927cb45f112/mnt/.gems/gems/rack-1.2.1/lib/rack/builder.rb:63:in
`map'
    from /home/heroku_rack/heroku.ru:18
    from
/home/slugs/377655_fdff8e6_b844-847cc755-b706-4bc4-bc3b-9927cb45f112/mnt/.gems/gems/rack-1.2.1/lib/rack/builder.rb:46:in
`instance_eval'
    from
/home/slugs/377655_fdff8e6_b844-847cc755-b706-4bc4-bc3b-9927cb45f112/mnt/.gems/gems/rack-1.2.1/lib/rack/builder.rb:46:in
`initialize'
    from /home/heroku_rack/heroku.ru:11:in `new'
    from /home/heroku_rack/heroku.ru:11
    from
/home/slugs/377655_fdff8e6_b844-847cc755-b706-4bc4-bc3b-9927cb45f112/mnt/.gems/gems/rack-1.2.1/lib/rack/builder.rb:46:in
`instance_eval'
    from
/home/slugs/377655_fdff8e6_b844-847cc755-b706-4bc4-bc3b-9927cb45f112/mnt/.gems/gems/rack-1.2.1/lib/rack/builder.rb:46:in
`initialize'
    from /home/heroku_rack/heroku.ru:1:in `new'
    from /home/heroku_rack/heroku.ru:1
>>

since "require_relative" is a 1.9.2 feature of ruby, I did a:

heroku stack:migrate bamboo-mri-1.9.2
git push heroku master

and I'm getting the same error.

When I do a:

heroku stack

I see:

  aspen-mri-1.8.6
* bamboo-ree-1.8.7
  bamboo-mri-1.9.1 (beta)
  bamboo-mri-1.9.2 (beta) (prepared, will migrate on next git push)

so I tried doing:

touch README
git push heroku master

and the stack is still the same. What else do I need to do to change the
stack?


-- 
Scott
http://steamcode.blogspot.com/

-- 
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