Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Problem in Installing or overriding the extension in spree 0.70 version #588
How to install or override an extension in spree version 0.70.
For example -Spree reviews and ratings
In spree-60.0 usually i added the gem "spree_reviews" in the Gemfile which is in sandbox folder.
But in case of spree version 70.0 there is no Gemfile in sandbox.How can i use the extension in this version.I tried to add the gem in Gemfile which is in home folder but it shows error
while execute "rake spree_reviews:install".What should i do in this case?
Reply me if anyone knows.
sandbox now relies on the dummy skeleton which doesn't have
gem 'spree', :git => 'git://github.com/spree/spree.git'
or point it to your local cloned repisitory
gem 'spree', :path => 'spree-path-here'
then bootstrap with:
bundle install rails g spree:site bundle exec rake db:migrate bundle exec rake db:seed bundle exec rake spree_sample:load
now you are free to add whatever extension you like.
It's because the extension generator creates an install generator module with a singularized version of the the extension's name.
So for example in this case you'll find the file