argerim / select2-rails

Integrate Select2 javascript library with Rails asset pipeline
https://github.com/argerim/select2-rails
965 stars 374 forks source link

Add assets paths (fix #164). #166

Closed pudiva closed 4 years ago

pudiva commented 8 years ago

Looks like a similar change was done and undone several tiems in teh past...

mcritchlow commented 8 years ago

👍 ran into this as well w/ Rails 5

thiagogsr commented 7 years ago

Why was it not merged? How do you are running it in production environment using sass-rails?

OpenCoderX commented 4 years ago

Is this still necessary? The gem works in my projects when I add select2 to the js and css asset manifest files.

pudiva commented 4 years ago

Is this still necessary? The gem works in my projects when I add select2 to the js and css asset manifest files.

If you rails new, add the gem and it works, then it's not necessary anymore. The original author of the issue said it's been fixed already:

https://github.com/argerim/select2-rails/issues/164#issuecomment-403371056

I haven't tested, it's been 4 years now...

OpenCoderX commented 4 years ago

@ayghor I'll close this. Thanks!