crowdint / spree_conekta

BSD 3-Clause "New" or "Revised" License
4 stars 25 forks source link

cannot install spree_conekta gem #39

Open emsedano opened 10 years ago

emsedano commented 10 years ago

Hello CrowdInteractive

i've added gem 'spree_conekta', :git => 'git://github.com/crowdint/spree_conekta.git'

i ran bundle and then rails g spree_conekta:install

but... i'm getting this error...

/Users/emsedano/.rvm/gems/ruby-2.1.1/gems/thor-0.19.1/lib/thor/actions/inject_into_file.rb:98:inbinread': No such file or directory @ rb_sysopen - /Users/emsedano/Documents/Amplemind/Projects/ingredienta/project_source/ingredienta/app/assets/stylesheets/admin/all.css (Errno::ENOENT) from /Users/emsedano/.rvm/gems/ruby-2.1.1/gems/thor-0.19.1/lib/thor/actions/inject_into_file.rb:98:in replace!' from /Users/emsedano/.rvm/gems/ruby-2.1.1/gems/thor-0.19.1/lib/thor/actions/inject_into_file.rb:59:ininvoke!' from /Users/emsedano/.rvm/gems/ruby-2.1.1/gems/thor-0.19.1/lib/thor/actions.rb:94:in action' from /Users/emsedano/.rvm/gems/ruby-2.1.1/gems/thor-0.19.1/lib/thor/actions/inject_into_file.rb:30:ininsert_into_file'`

how can i reach spree_conekta installation successfully

Thanks in advance... any suggestion please ?

softr8 commented 10 years ago

it looks like you dont have spree installed yet, can you try installing spree gem before then spree_conekta ?

emsedano commented 10 years ago

sorry but it's already installed...

gem 'spree', github: 'spree/spree', branch: '2-2-stable'
#gem 'spree_gateway', :git => 'https://github.com/spree/spree_gateway.git', :branch => '2-2-stable'
gem 'spree_auth_devise', :git => 'https://github.com/spree/spree_auth_devise.git', :branch => '2-2-stable'

# user psree whishlist to add a wish list features
gem 'spree_wishlist', github: 'spree/spree_wishlist', :branch => '2-2-stable'

# use spree_conekta to process bank, oxxo, credit card and monthly payments via third-party rest api by conekta.io
gem 'spree_conekta', :git => 'git://github.com/crowdint/spree_conekta.git'
mvidaurre commented 10 years ago

The issue is that Spree 2.2+ changes the folder names:

Then the generator is breaking bad because that. You should use Spree 2.1 stable.

I'm working in a branch for Spree 2.3.0.beta (I like living in the edge). But is not ready yet. If you want to take a look see: https://github.com/AgilTec/spree_conekta