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
Incomplete sample application installation instructions #1442
Comments
@alexeyr AWESOME work! Keep going! |
hey @alexeyr -- I think I'm gonna work on this a little this weekend if you want to pair up. not sure if you were building a jsbundling app or an importmap app under Rails 7 (you don't specify), but I am going for a solution using esbuild through JSBundling. if you have an example app from the attempts above, I will pull it and take a look if that's helpful. as well, from what I understand there's a CSS collision if you use both JSBundling and CSSbundling, so I'm not actually sure how to get esbuild to compile the React CSS and also how to get SCSS to compile the application CSS. (that's where I'm stuck). I will start a separate issue this weekend with my own notes. |
@alexeyr-c -- ok very good I think I'm a different path anyway. |
@ahangarha if your recent work resolved this issue, then please close this. |
@Judahmeek Not actually. I couldn't make it work. I get a never-ended loading page, with no error or any helpful message in the terminal. |
I believe #1443 resolved most of this. |
Environment
Expected behavior
Following spec/dummy/README.md should install and start the sample application.
Actual behavior
The expected ruby version should be specified either in README or
.ruby-version
.to_binary
: wrong argument type false (expected Symbol) Shopify/bootsnap#378, fixed in bootsnap 1.9.2/3.rake test
doesn't due to Ruby 3.0.1 support pry/pry-doc#113, fixed in pry-doc 1.2.0.I found additional steps to be necessary:
bundle install
in bothroot
andspec/dummy
.yarn rescript:build
beforeforeman
because it doesn't build the dependencies. In my accompanying PR this is a separate step, but maybe a better way would be to add-with-deps
inreact_on_rails/spec/dummy/package.json
Line 81 in 0e96cf8
Procfile.spec
(mentioned under "Creating Assets for Tests") currently doesn't exist.bundle exec rspec
both in root and spec/dummy produces some failures in addition to "ruby/3.0.2 isn't supported by this pry-doc version" from 1.3, but it could be because of the missing assets or some other problem with my setup.After posting this, I found more information on setup in CONTRIBUTING.md. It should probably be linked from the README instead of duplicating information.
The text was updated successfully, but these errors were encountered: