Hey! -- i'm trying to learn a bit about building m...
# support
j
Hey! -- i'm trying to learn a bit about building my first extension so i can hopefully create a cool one here in the future : ) it's my first time creating a rails engine -- after generating the sandbox apps following the docs i'm hitting:
Copy code
➜  sandbox git:(main) ✗ bin/rails server                                                                                                                        
The git source <https://github.com/solidusio/solidus.git> is not yet checked out. Please run `bundle install` before trying to start your application

➜  sandbox git:(main) ✗ bundle install  
Fetching <https://github.com/solidusio/solidus.git>
fatal: Needed a single revision
Git error: command `git rev-parse --verify ''` in directory
/Users/jacobpenn/.asdf/installs/ruby/3.0.5/lib/ruby/gems/3.0.0/cache/bundler/git/solidus-169f1ecb1aee2122950e6d586daf2410f62df66e has failed.
Revision  does not exist in the repository <https://github.com/solidusio/solidus.git>. Maybe you misspelled it?
If this error persists you could try removing the cache directory
'/Users/jacobpenn/.asdf/installs/ruby/3.0.5/lib/ruby/gems/3.0.0/cache/bundler/git/solidus-169f1ecb1aee2122950e6d586daf2410f62df66e'
Ahh -- okay i see in the gemfile of the support app:
Copy code
gem 'solidus', github: 'solidusio/solidus', branch: ''
Looks like branch needs to be specific and then bundle should work.
curious if this is a bug or not though, it presented like a bug creating errors when generating the sandbox app
i'm guessing it's some sort of bug cause solidus:install wasn't run and the next steps in the guide fail
e
ℹ️ @jakemumu just a heads up if you’re using solidus_dev_support, we’re in the process of figuring out how to adapt it for solidus_starter_frontend, while the currently released version is targeting the legacy solidus_frontend. You can find some experimental approaches in the solidus_paypal_commerce_platform and solidus_stripe extensions but the solutions are still somewhat tentative, YMMV as they say
j
Thanks Elia yeah it’s an excited time it looks like a lot of ramp up on solidus from your team in general, Im still on the legacy frontend so I thought it would work, it actually seemed like a bug in the template generators somewhere but maybe not worth resolving if it’s getting rewritten
Are there any docs yet on the methodology and thought processes around working with extensions and the new frontend? Or how to migrate from an older app only the new one when the time comes? Thanks for all your work
e
no, I’m sorry, no docs so far, it’s still very up in air… although the thought process is more or less the following: • the starter frontend is there as an acknowledgement that virtually all application will customize the frontend • we cannot possibly integrate an extension with an infinite possible frontends • we should focus on the starter frontend as a sort of “reference implementation” that will give a nice out-of-the-box experience and can be looked up by existing apps • the frontend part of extensions should be copied to the target rails app so that it will go along with the customizations of the storefront • the starter frontend doesn’t lend itself to the traditional spec/dummy testing or rails engines so we test by creating a new rails + solidus app, installing the extensions with its specs and running them from inside the app let me know if you want me to expand on some of the points
👍 1