Open frizbee opened 9 years ago
You can get the versions of spree ~> 3.1.0.beta from github.
gem 'spree'', github: 'spree/spree', branch: '3-0-stable'
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
gem 'spree', github: 'spree/spree', branch: '3-0-stable' gem 'spree_print_invoice', github: 'spree-contrib/spree_print_invoice', branch: 'master'
It has to be:
gem 'spree', github: 'spree/spree', branch: 'master'
@tvdeyen Does it requires the master branch of spree? can you have a look at #89 ?
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
@frizbee Have you figure out way to solve it?
not yet, currently working on payments
@frizbee see the update on #89 :)
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'