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

Installation issue: undefined method `ref' for ActiveSupport::Dependencies:Module #441

Open
dirkk0 opened this issue Jul 15, 2013 · 10 comments

Comments

@dirkk0
Copy link

dirkk0 commented Jul 15, 2013

Hi,

I tried to install social_stream with many variants of Ruby and Rails versions, but I keep running into version problems. What are the recommend versions?

On ruby 1.9.3 and Rails 4 the rails generate social_stream:install command fails with

/home/ubuntu/.rvm/gems/ruby-1.9.3-p448/gems/devise-1.1.9/lib/devise.rb:193:in
mailer=': undefined methodref' for ActiveSupport::Dependencies:Module
(NoMethodError)

Why is that?

Thanks in advance,
Dirk

@jonathanhudak
Copy link

I'm receiving the same error:

.../gems/ruby-1.9.3-p429/gems/devise-1.1.9/lib/devise.rb:193:in mailer=': undefined methodref' for ActiveSupport::Dependencies:Module (NoMethodError)

Would love to try this out, looks awesome.

Thanks so much!

Jonathan

@atd
Copy link
Contributor

atd commented Jul 22, 2013

This is probably a Rails 4 related issue. Please try with Rails 3.2.13

@atd
Copy link
Contributor

atd commented Jul 22, 2013

Besides, we will be delighted to accept pull requests that makes Social Stream compatible with Rails 4

@shaileshkalamkar
Copy link

@atd I also faced the same issue when I used Rails 3.2.13. I think this issue is related to 'Devise'. The version used in the gem may have this issue.

Check this discussion http://stackoverflow.com/questions/16414337/error-when-trying-to-generate-deviseinstall-in-ruby-on-rails

@rahuldracula
Copy link

I am still facing this same error. I have tried both rails 4 as well as rails 3.2.5. Ruby version 1.9.3.

@atd
Copy link
Contributor

atd commented Nov 26, 2013

Thank you @shaileshparamisoft !

What version of Social Stream are you using guys? Current Social Stream version requires devise ~> 2.2.3, but you are running devise 1.1.9

@vinita000
Copy link

vinita000 commented Nov 27, 2021

Hi,
I am facing this error while running rails g scaffold.
/Users/vinita.kumari.vc/.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0/gems/spring-2.1.1/lib/spring/application.rb:103:in block in preload': undefined method mechanism=' for ActiveSupport::Dependencies:Module (NoMethodError)
ruby version -3.0.2
rails version - 7.0.0

Thanks in advance
Vinita.

@naveedHashmi
Copy link

Hi facing the same issue as @vinita000.

@abdulhanan00
Copy link

devise updated gem please use
bundle update

@abdulhanan00
Copy link

Hi, I am facing this error while running rails g scaffold. /Users/vinita.kumari.vc/.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0/gems/spring-2.1.1/lib/spring/application.rb:103:in block in preload': undefined method mechanism=' for ActiveSupport::Dependencies:Module (NoMethodError) ruby version -3.0.2 rails version - 7.0.0

Thanks in advance Vinita.

use bundle update

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

8 participants