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

cannot install spree_conekta gem #39

Open
emsedano opened this issue Jun 4, 2014 · 3 comments
Open

cannot install spree_conekta gem #39

emsedano opened this issue Jun 4, 2014 · 3 comments

Comments

@emsedano
Copy link

emsedano commented Jun 4, 2014

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:in binread': 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:in invoke!'
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:in insert_into_file'`

how can i reach spree_conekta installation successfully

Thanks in advance... any suggestion please ?

@softr8
Copy link
Contributor

softr8 commented Jun 4, 2014

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

@emsedano
Copy link
Author

emsedano commented Jun 4, 2014

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
Copy link

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

  • Spree 2.1 store -> Spree 2.2+ spree/frontend
  • Spree 2.1 admin -> Spree 2.2+ spree/backend

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

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