pitr / angular-rails-templates

Use your angular templates with rails' asset pipeline
https://rubygems.org/gems/angular-rails-templates
MIT License
566 stars 169 forks source link

Can't install latest beta. #129

Closed alucardu closed 8 years ago

alucardu commented 8 years ago

In my gemfile I have gem 'angular-rails-templates', '~> 1.0', '>= 1.0.0.beta2' but when I run bundle update I get an error,

Could not find gem 'angular-rails-templates (>= 1.0.0.beta2, ~> 1.0) ruby' in any of the gem sources listed in your Gemfile or available on this machine.

pitr commented 8 years ago

Thanks for trying beta version! The reason you are having that problem is that 1.0.0.beta2 does not actually match ~> 1.0 since 1.0.0.beta2 < 1.0.0. There hasn't been any issues with beta2 yet, so I'm planning to release 1.0 in a couple of days. Please let me know if you are having any problems.

alucardu commented 8 years ago

As you know angular-rails-template does not work with Sprockets 3+. But downgrading to Sprockets 2.12.4 is causing errors in my code. Am I correct in understanding that it's not yet possible to user angular-rails-template version 1.0?

pitr commented 8 years ago

1.0.0.beta2 is a version you want if you need Sprockets 3+ support

alucardu commented 8 years ago

Alright but what's the line I need to use to install it through the gemfile since gem 'angular-rails-templates', '~> 1.0', '>= 1.0.0.beta2' results in an error?

pitr commented 8 years ago

This should work:

gem 'angular-rails-templates', '>= 1.0.0.beta2'
alucardu commented 8 years ago

Thank you very much for me helping me out. Works great now. Going to keep an eye on the whole beta > live situation.