tobsch / mediaelement_rails

An easy as hell mediaelementjs rails integration for asset pipeline enabled apps...
MIT License
106 stars 49 forks source link

Publish on rubygems. #2

Closed tobsch closed 13 years ago

vala commented 13 years ago

Hi there, I'd like to know how I should include the gem in my Gemfile ? I tried with :

gem 'mediaelement-rails', :git => 'git://github.com/tobsch/mediaelement-rails.git'

But it couldn't be found it :

Could not find gem 'mediaelement-rails (>= 0)' in git://github.com/tobsch/mediaelement-rails.git (at master).
Source does not contain any versions of 'mediaelement-rails (>= 0)'

Thanks for your reply

tobsch commented 13 years ago

Hi Vala,

try this one:

gem 'mediaelement_rails', :git => 'https://github.com/tobsch/mediaelement-rails.git'

We're planning to publish it on rubygems though. I think I'll wait till 3.1 is officially stable.

Please close the issue if its working

vala commented 13 years ago

Thanks, the bundle worked perfectly. The gem just corresponded to what I was looking for today so I couldn't wait for the rubygems' release ! If I can suggest something, maybe you could add the gem's name to your description in the readme "Add the gem to the list of required gems in your Gemfile" that doesn't explains its name. But reading again the readme, the file to require in application.js/css can help to guess the gem name. I can't close the Issue cause I posted on your Issue #2 thinking that your response could help someone that's looking for the same thing I was. Thanks again I'll try it at night.

tobsch commented 13 years ago

It's online now, and i renamed the branch so be careful: gem 'mediaelement_rails', :git => 'https://github.com/tobsch/mediaelement-rails.git'

or just switch to gem 'mediaelement_rails'

:)