I am doing something wrong with a gem / solidus_de...
# support
v
I am doing something wrong with a gem / solidus_dev_support. I created a fresh gem and was writing some code and tests, but now that I need a migration to work I ran into two problems. 1. When I boot the sandbox app its working, but not a single route is working like localhost:3000/admin. 2. Spree::User is not defined either from the Gem/Rspec or checking in the console 3. Migrations are I think not being copied over Clearly missing something. What I did is: $ solidus extension extension_name $ bin/rails-sandbox Added spec helpers
k
Hey Victor! 1. any specific error?
v
Just nothing. The sandbox build and it boots. Going anywhere gives me route does not exist. The available routes are standard rails mailer.
k
let me try
v
I just ran "rspec" without bundle exec and it copied migrations to I think spec/dummy
k
spec/dummy is for automated testing purposes, so it makes sense
the sandbox is for manual testing and I’m seeing it doesn’t install Solidus when created
which is a bug
v
Solidus is indeed not included in the gem file
k
I see it in the gemfile of the sandbox
v
Sorry, you're right I was too quick
k
but I think it misses:
Copy code
cd sandbox
bin/rails g solidus:install
v
Ok that helped
k
BTW, I think solidus_dev_support needs a release, because we have some more updated code in its master branch
v
Thanks for the help 🙏