thoughtbot / griddler-sendgrid

SendGrid adapter for Griddler
MIT License
32 stars 35 forks source link

Could not find gem 'griddler-sendgrid (>= 0) ruby' #2

Closed manoj2411 closed 10 years ago

manoj2411 commented 10 years ago

Hey,

I added this to my Gemfile

gem 'griddler-sendgrid'

and I get this error

Fetching source index from http://rubygems.org/
Resolving dependencies...
Could not find gem 'griddler-sendgrid (>= 0) ruby' in the gems available on this machine.

When I tried with this in my Gemfile

gem 'griddler-sendgrid', :git => 'https://github.com/thoughtbot/griddler-sendgrid.git'

bundle install was successful but when I tried to run server rails s I got this error

/Users/manoj/.rvm/gems/ruby-1.9.3-p484@interakt.co/bundler/gems/griddler-sendgrid-2ccf8b7068bc/lib/griddler/sendgrid.rb:10:in `<top (required)>': undefined method `adapter_registry' for Griddler:Module (NoMethodError)
    from /Users/manoj/.rvm/gems/ruby-1.9.3-p484@global/gems/bundler-1.3.5/lib/bundler/runtime.rb:81:in `require'
    from /Users/manoj/.rvm/gems/ruby-1.9.3-p484@global/gems/bundler-1.3.5/lib/bundler/runtime.rb:81:in `rescue in block in require'
    from /Users/manoj/.rvm/gems/ruby-1.9.3-p484@global/gems/bundler-1.3.5/lib/bundler/runtime.rb:66:in `block in require'
    from /Users/manoj/.rvm/gems/ruby-1.9.3-p484@global/gems/bundler-1.3.5/lib/bundler/runtime.rb:59:in `each'
    from /Users/manoj/.rvm/gems/ruby-1.9.3-p484@global/gems/bundler-1.3.5/lib/bundler/runtime.rb:59:in `require'
    from /Users/manoj/.rvm/gems/ruby-1.9.3-p484@global/gems/bundler-1.3.5/lib/bundler.rb:132:in `require'
    from /Users/manoj/projects/interakt/config/application.rb:7:in `<top (required)>'
    from /Users/manoj/.rvm/gems/ruby-1.9.3-p484@interakt.co/gems/railties-3.2.18/lib/rails/commands.rb:53:in `require'
    from /Users/manoj/.rvm/gems/ruby-1.9.3-p484@interakt.co/gems/railties-3.2.18/lib/rails/commands.rb:53:in `block in <top (required)>'
    from /Users/manoj/.rvm/gems/ruby-1.9.3-p484@interakt.co/gems/railties-3.2.18/lib/rails/commands.rb:50:in `tap'
    from /Users/manoj/.rvm/gems/ruby-1.9.3-p484@interakt.co/gems/railties-3.2.18/lib/rails/commands.rb:50:in `<top (required)>'
    from script/rails:6:in `require'
    from script/rails:6:in `<main>'

Is there some steps to follow to start with it, that are not there in readme ?

calebhearth commented 10 years ago

Yeah you'll want to go back to the latest gagged version for install instructions. Master is targeting unreleased 1.0.

On Sun, Jun 8, 2014 at 10:24 AM, Manoj notifications@github.com wrote:

Hey, I added this to my Gemfile

gem 'griddler-sendgrid'

and I get this error

Fetching source index from http://rubygems.org/
Resolving dependencies...
Could not find gem 'griddler-sendgrid (>= 0) ruby' in the gems available on this machine.

When I tried with this in my Gemfile

gem 'griddler-sendgrid', :git => 'https://github.com/thoughtbot/griddler-sendgrid.git'

bundle install was successful but when I tried to run server rails s I got this error

/Users/manoj/.rvm/gems/ruby-1.9.3-p484@interakt.co/bundler/gems/griddler-sendgrid-2ccf8b7068bc/lib/griddler/sendgrid.rb:10:in `<top (required)>': undefined method `adapter_registry' for Griddler:Module (NoMethodError)
  from /Users/manoj/.rvm/gems/ruby-1.9.3-p484@global/gems/bundler-1.3.5/lib/bundler/runtime.rb:81:in `require'
  from /Users/manoj/.rvm/gems/ruby-1.9.3-p484@global/gems/bundler-1.3.5/lib/bundler/runtime.rb:81:in `rescue in block in require'
  from /Users/manoj/.rvm/gems/ruby-1.9.3-p484@global/gems/bundler-1.3.5/lib/bundler/runtime.rb:66:in `block in require'
  from /Users/manoj/.rvm/gems/ruby-1.9.3-p484@global/gems/bundler-1.3.5/lib/bundler/runtime.rb:59:in `each'
  from /Users/manoj/.rvm/gems/ruby-1.9.3-p484@global/gems/bundler-1.3.5/lib/bundler/runtime.rb:59:in `require'
  from /Users/manoj/.rvm/gems/ruby-1.9.3-p484@global/gems/bundler-1.3.5/lib/bundler.rb:132:in `require'
  from /Users/manoj/projects/interakt/config/application.rb:7:in `<top (required)>'
  from /Users/manoj/.rvm/gems/ruby-1.9.3-p484@interakt.co/gems/railties-3.2.18/lib/rails/commands.rb:53:in `require'
  from /Users/manoj/.rvm/gems/ruby-1.9.3-p484@interakt.co/gems/railties-3.2.18/lib/rails/commands.rb:53:in `block in <top (required)>'
  from /Users/manoj/.rvm/gems/ruby-1.9.3-p484@interakt.co/gems/railties-3.2.18/lib/rails/commands.rb:50:in `tap'
  from /Users/manoj/.rvm/gems/ruby-1.9.3-p484@interakt.co/gems/railties-3.2.18/lib/rails/commands.rb:50:in `<top (required)>'
  from script/rails:6:in `require'
  from script/rails:6:in `<main>'

Is there some steps to follow to start with it, that are not there in readme ?

Reply to this email directly or view it on GitHub: https://github.com/thoughtbot/griddler-sendgrid/issues/2

manoj2411 commented 10 years ago

@calebthompson Thanks and can you help me out a bit because I have no idea how to get that latest gagged version, as I can see there is only 1 branch in the repository right now which is master

manoj2411 commented 10 years ago

Aah, by mistake I pressed Close and comment button. Very sorry for this mess

calebhearth commented 10 years ago

Sorry, "tagged". Go to the branches drop down and select the newest tag. I think it is v0.6.0.

Basically you don't need griddler-sendgrid yet.

On Sun, Jun 8, 2014 at 6:58 PM, Manoj notifications@github.com wrote:

Reopened #2.

Reply to this email directly or view it on GitHub: https://github.com/thoughtbot/griddler-sendgrid/issues/2#event-129204460

calebhearth commented 10 years ago

Ah wrong repo too. https://github.com/thoughtbot/griddler/tree/v0.6.4

On Sun, Jun 8, 2014 at 6:58 PM, Manoj notifications@github.com wrote:

Reopened #2.

Reply to this email directly or view it on GitHub: https://github.com/thoughtbot/griddler-sendgrid/issues/2#event-129204460