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

Could not find gem spree_core ~> 3.1.0.beta #90

Open
frizbee opened this issue Jul 20, 2015 · 8 comments
Open

Could not find gem spree_core ~> 3.1.0.beta #90

frizbee opened this issue Jul 20, 2015 · 8 comments

Comments

@frizbee
Copy link

frizbee commented Jul 20, 2015

Could not find gem 'spree_core (~> 3.1.0.beta) ruby', which is required by gem 'spree_print_invoice (>= 0) ruby', in any of the sources.


Bundler could not find compatible versions for gem "spree_core":
In Gemfile:
spree_print_invoice (>= 0) ruby depends on
spree_core (~> 3.1.0.beta) ruby

spree_slider (>= 0) ruby depends on
spree_core (3.0.1)

Gemfile

gem 'spree', '3.0.1'
gem 'spree_gateway', github: 'spree/spree_gateway', branch: '3-0-stable'
gem 'spree_auth_devise', github: 'spree/spree_auth_devise', branch: '3-0-stable'
gem 'spree_slider', github: 'spree-contrib/spree_slider'
gem 'spree_print_invoice', github: 'spree-contrib/spree_print_invoice', branch: 'master'

@user12121212
Copy link

You can get the versions of spree ~> 3.1.0.beta from github.

gem 'spree'', github: 'spree/spree', branch: '3-0-stable'

@frizbee
Copy link
Author

frizbee commented Jul 22, 2015

And then got this:

Bundler could not find compatible versions for gem "spree_core":
In Gemfile:
spree_print_invoice (>= 0) ruby depends on
spree_core (~> 3.1.0.beta) ruby

Gemfile

gem 'spree', github: 'spree/spree', branch: '3-0-stable'
gem 'spree_print_invoice', github: 'spree-contrib/spree_print_invoice', branch: 'master'

@tvdeyen
Copy link
Contributor

tvdeyen commented Jul 22, 2015

It has to be:

gem 'spree', github: 'spree/spree', branch: 'master'

@user12121212
Copy link

@tvdeyen Does it requires the master branch of spree? can you have a look at #89 ?

@frizbee
Copy link
Author

frizbee commented Jul 22, 2015

actually I came back to

gem 'spree', '3.0.1'
gem 'spree_print_invoice', github: 'spree-contrib/spree_print_invoice', branch: '3-0-stable'

same if I run with

gem 'spree', github: 'spree/spree', branch: '3-0-stable'
gem 'spree_print_invoice', github: 'spree-contrib/spree_print_invoice', branch: '3-0-stable'

it's working now, I can set configuration in admin and I see Print Invoice number.
But when I click Print Invoice in Orders I got this error:

no implicit conversion of Sprockets::Asset into String

        end
         # String or Pathname
  ----> io_or_path = Pathname.new(io_or_path)
         raise ArgumentError, "#{io_or_path} not found" unless io_or_path.file?
         io = io_or_path.open('rb')
         io

Now I have same issue as #89

@user12121212
Copy link

@frizbee Have you figure out way to solve it?

@frizbee
Copy link
Author

frizbee commented Jul 28, 2015

not yet, currently working on payments

@user12121212
Copy link

@frizbee see the update on #89 :)

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

3 participants