Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error running Mongo3 #22

Closed
craigwblake opened this issue Apr 20, 2012 · 1 comment
Closed

Error running Mongo3 #22

craigwblake opened this issue Apr 20, 2012 · 1 comment

Comments

@craigwblake
Copy link

I ran 'sudo gem install mongo3' and then ran 'mongo3' and I get this error:

NoMethodError - private method public' called for Sinatra::Application:Class: /Library/Ruby/Gems/1.8/gems/mongo3-0.1.3/lib/helpers/main_helper.rb:21:inv_styles'
/Library/Ruby/Gems/1.8/gems/mongo3-0.1.3/lib/helpers/main_helper.rb:7:in stylesheets' /Library/Ruby/Gems/1.8/gems/mongo3-0.1.3/lib/helpers/main_helper.rb:6:ineach'
/Library/Ruby/Gems/1.8/gems/mongo3-0.1.3/lib/helpers/main_helper.rb:6:in stylesheets' /Library/Ruby/Gems/1.8/gems/mongo3-0.1.3/bin/../lib/views/layout.erb:8:inevaluate_source'
/Library/Ruby/Gems/1.8/gems/tilt-1.3.3/lib/tilt/template.rb:144:in cached_evaluate' /Library/Ruby/Gems/1.8/gems/tilt-1.3.3/lib/tilt/template.rb:127:inevaluate'
/Library/Ruby/Gems/1.8/gems/tilt-1.3.3/lib/tilt/template.rb:76:in render' /Library/Ruby/Gems/1.8/gems/sinatra-1.3.2/lib/sinatra/base.rb:636:inrender'
/Library/Ruby/Gems/1.8/gems/sinatra-1.3.2/lib/sinatra/base.rb:644:in render' /Library/Ruby/Gems/1.8/gems/sinatra-1.3.2/lib/sinatra/base.rb:644:incatch'
/Library/Ruby/Gems/1.8/gems/sinatra-1.3.2/lib/sinatra/base.rb:644:in render' /Library/Ruby/Gems/1.8/gems/sinatra-1.3.2/lib/sinatra/base.rb:522:inerb'
/Library/Ruby/Gems/1.8/gems/mongo3-0.1.3/lib/controllers/explore.rb:29:in GET /' /Library/Ruby/Gems/1.8/gems/sinatra-1.3.2/lib/sinatra/base.rb:1211:incall'
/Library/Ruby/Gems/1.8/gems/sinatra-1.3.2/lib/sinatra/base.rb:1211:in compile!' /Library/Ruby/Gems/1.8/gems/sinatra-1.3.2/lib/sinatra/base.rb:785:in[]'
/Library/Ruby/Gems/1.8/gems/sinatra-1.3.2/lib/sinatra/base.rb:785:in route!' /Library/Ruby/Gems/1.8/gems/sinatra-1.3.2/lib/sinatra/base.rb:801:inroute_eval'
.
.
.

@derailed
Copy link
Owner

Hi Craig,

I have updated the gem V 0.1.4. Should be much better now. Let me know if you're still having issues.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants