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

Changed install template system call to account for spaces in path #137

Merged
merged 2 commits into from
Aug 16, 2024

Conversation

marekhilton
Copy link
Contributor

This is a very small fix to the installation process. In run_stimulus_install_template the path may contain a space. In my case, the bundle directory has a space in it for some reason unknown to me (vendor/bundle /). In the old code this broke the system call and prevented generation of a new rails project by rails new app_name. The new version is in line with other library install templates like importmap)

I'm using rbenv on Arch, ruby 3.3.1, rails 7.1.3.2.

`path` may contain a space. In the old code this broke the system
call.New version is in line with other library install templates (e.g.
importmap).
lib/tasks/stimulus_tasks.rake Outdated Show resolved Hide resolved
@dhh dhh merged commit 9e5f386 into hotwired:main Aug 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants