did anyone got problem running in heroku for bson 1.3.1 ?
Its working locally. but not in heroku
=============
2011-11-02T14:48:55+00:00 heroku[web.1]: State changed from created to
starting
2011-11-02T14:48:56+00:00 heroku[web.1]: Starting process with command
`thin -p 29136 -e production -R /home/heroku_rack/
heroku.ru start`
2011-11-02T14:48:57+00:00 app[web.1]: Able to load bson_ext version
1.1.1, but >= 1.3.1 is required.
------------
2011-11-02T14:48:58+00:00 heroku[web.1]: Process exited
2011-11-02T14:48:58+00:00 app[web.1]: >> Thin web server (v1.2.6
codename Crazy Delicious)
2011-11-02T14:48:58+00:00 app[web.1]: >> Maximum connections set to
1024
2011-11-02T14:48:58+00:00 app[web.1]: >> Listening on
0.0.0.0:29136,
CTRL+C to stop
2011-11-02T14:48:59+00:00 heroku[web.1]: State changed from starting
to up
2011-11-02T14:49:40+00:00 app[web.1]: ArgumentError - wrong number of
arguments(1 for 0):
2011-11-02T14:49:40+00:00 app[web.1]: /app/.bundle/gems/ruby/1.9.1/
gems/bson-1.3.1/lib/bson/types/object_id.rb:51:in `generate'
2011-11-02T14:49:40+00:00 app[web.1]: /app/.bundle/gems/ruby/1.9.1/
gems/sinatra-1.1.0/lib/sinatra/base.rb:620:in `route_eval'
2011-11-02T14:49:40+00:00 app[web.1]: /app/.bundle/gems/ruby/1.9.1/
gems/sinatra-1.1.0/lib/sinatra/base.rb:604:in `block (2 levels) in
route!'
2011-11-02T14:49:40+00:00 app[web.1]: /app/.bundle/gems/ruby/1.9.1/
gems/sinatra-1.1.0/lib/sinatra/base.rb:656:in `block in process_route'
2011-11-02T14:49:40+00:00 app[web.1]: /usr/ruby1.9.2/bin/thin:19:in
`<main>'
=========
GEM FILE
GEM
remote:
http://rubygems.org/
specs:
activemodel (3.1.1)
activesupport (= 3.1.1)
builder (~> 3.0.0)
i18n (~> 0.6)
activesupport (3.1.1)
multi_json (~> 1.0)
bson (1.3.1)
bson_ext (1.1.1)
builder (3.0.0)
i18n (0.6.0)
json (1.6.1)
mongo (1.3.1)
bson (= 1.3.1)
mongoid (2.2.0)
activemodel (~> 3.0)
mongo (~> 1.3)
tzinfo (~> 0.3.22)
multi_json (1.0.3)
rack (1.2.1)
sinatra (1.1.0)
rack (~> 1.1)
tilt (~> 1.1)
tilt (1.1)
tzinfo (0.3.30)
PLATFORMS
ruby
x86-mingw32
DEPENDENCIES
activesupport
bson_ext (= 1.1.1)
json
mongoid (= 2.2.0)
sinatra
> Remove your bson_ext line, and add the following:
>
> gem 'mongo', '= 1.3.1'
> gem 'bson', '= 1.3.1'
> gem 'bson_ext', '= 1.3.1'
>
> This will lock you in at 1.3.1
>
> Tim
>
> On Mon, Oct 31, 2011 at 3:20 PM, Claudio Lassala
> <
claudiolass...@gmail.com>wrote:
>
> > Guys,
>
> > I'm new to Rails and Heroku, and I'm totally stuck here...
>
> > I have the following in my gemfile (among other things):
>
> > gem 'rails', '3.1'
> > gem "mongoid", "2.3.3"
> > gem "bson_ext", "~> 1.2"
>
> > when I deploy to Heroku, it's failing with this message:
>
> > Fetching source index forhttp://
rubygems.org/