I also tested 1.8.7 on my local machine and works great. Gemfile and Gemfile.lock file both look good but still getting that CouchRest error when I do a push. If it helps any, here is hte log after a push:

2011-03-09T11:46:57-08:00 heroku[web.1]: State changed from crashed to created 2011-03-09T11:46:57-08:00 heroku[web.1]: State changed from created to starting 2011-03-09T11:47:01-08:00 app[web.1]: /usr/ruby1.8.7/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- CouchRest (LoadError) 2011-03-09T11:47:01-08:00 app[web.1]: from /usr/ruby1.8.7/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
2011-03-09T11:47:01-08:00 app[web.1]:     from ./reservations.rb:4
2011-03-09T11:47:01-08:00 app[web.1]: from /usr/ruby1.8.7/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' 2011-03-09T11:47:01-08:00 app[web.1]: from /usr/ruby1.8.7/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
2011-03-09T11:47:01-08:00 app[web.1]:     from config.ru:1
2011-03-09T11:47:01-08:00 app[web.1]: from /home/heroku_rack/heroku.ru:23 2011-03-09T11:47:01-08:00 app[web.1]: from /app/f2990cce-2de5-4957-b7e2-ec0aa808462c/home/.bundle/gems/ruby/1.8/gems/rack-1.2.1/lib/rack/builder.rb:46:in `instance_eval' 2011-03-09T11:47:01-08:00 app[web.1]: from /app/f2990cce-2de5-4957-b7e2-ec0aa808462c/home/.bundle/gems/ruby/1.8/gems/rack-1.2.1/lib/rack/builder.rb:46:in `initialize' 2011-03-09T11:47:01-08:00 app[web.1]: from /app/f2990cce-2de5-4957-b7e2-ec0aa808462c/home/.bundle/gems/ruby/1.8/gems/rack-1.2.1/lib/rack/builder.rb:63:in `new' 2011-03-09T11:47:01-08:00 app[web.1]: from /app/f2990cce-2de5-4957-b7e2-ec0aa808462c/home/.bundle/gems/ruby/1.8/gems/rack-1.2.1/lib/rack/builder.rb:63:in `map' 2011-03-09T11:47:01-08:00 app[web.1]: from /home/heroku_rack/heroku.ru:18 2011-03-09T11:47:01-08:00 app[web.1]: from /app/f2990cce-2de5-4957-b7e2-ec0aa808462c/home/.bundle/gems/ruby/1.8/gems/rack-1.2.1/lib/rack/builder.rb:46:in `instance_eval' 2011-03-09T11:47:01-08:00 app[web.1]: from /app/f2990cce-2de5-4957-b7e2-ec0aa808462c/home/.bundle/gems/ruby/1.8/gems/rack-1.2.1/lib/rack/builder.rb:46:in `initialize' 2011-03-09T11:47:01-08:00 app[web.1]: from /home/heroku_rack/heroku.ru:11:in `new' 2011-03-09T11:47:01-08:00 app[web.1]: from /home/heroku_rack/heroku.ru:11 2011-03-09T11:47:01-08:00 app[web.1]: from /app/f2990cce-2de5-4957-b7e2-ec0aa808462c/home/.bundle/gems/ruby/1.8/gems/rack-1.2.1/lib/rack/builder.rb:46:in `instance_eval' 2011-03-09T11:47:01-08:00 app[web.1]: from /app/f2990cce-2de5-4957-b7e2-ec0aa808462c/home/.bundle/gems/ruby/1.8/gems/rack-1.2.1/lib/rack/builder.rb:46:in `initialize' 2011-03-09T11:47:01-08:00 app[web.1]: from /home/heroku_rack/heroku.ru:1:in `new'
2011-03-09T11:47:01-08:00 app[web.1]:     from /home/heroku_rack/heroku.ru:1
2011-03-09T11:47:02-08:00 heroku[web.1]: State changed from starting to crashed


------------------------------------------------------------------------

        kowsik <mailto:[email protected]>
March 9, 2011 11:02 AM



Do you have gem 'couchrest', '1.0.1' in your Gemfile?

K.
---
http://blitz.io
http://twitter.com/pcapr
------------------------------------------------------------------------

        masterof0 <mailto:[email protected]>
March 9, 2011 10:41 AM


I am new to Heroku (and Ruby for that matter) and in the process of
setting up my first app which is Sinatra based with a Cloudant back
end. It works locally just fine. I followed the documentation and
created config.ru and .gems. The push was successful, but when I view
the page, I get an application error. Reviewed the logs and noticed
the following:

2011-03-09T10:25:20-08:00 heroku[web.1]: State changed from starting
to crashed

Couple of additional things I noticed while reviewing the logs. I am
running ruby 1.9.2, but the references in the log refer to 1.8.2. I am
assuming this is the version of ruby that Heroku is running so I will
need to downgrade my version to match. Also, I just noticed that the
couchrest gem gives me an error but there isn't any real indication as
to why.

2011-03-09T10:25:19-08:00 app[web.1]: /usr/ruby1.8.7/lib/ruby/
site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require':
no such file to load -- CouchRest (LoadError)

Any feedback is greatly appreciated.

Chris


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

<<inline: compose-unknown-contact.jpg>>

<<inline: postbox-contact.jpg>>

Reply via email to