-
Notifications
You must be signed in to change notification settings - Fork 28
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
Homebrew formula #17
Comments
Took a crack at adding a formula and ran into a myriad of problems. :/ ruby
If anyone want's to continue where I left off and hack away at it. |
I created the Fomulae for rails-new on my local class RailsNew < Formula
desc "Create Rails projects with Ruby installed"
homepage "https://github.com/rails/rails-new"
url "https://github.com/rails/rails-new/archive/refs/tags/v0.4.1.tar.gz"
sha256 "d9c11267eb7c7a40a740768d09e5da60e07009d490d6561b734c35ac88095d51"
license "MIT"
depends_on "rust" => :build
depends_on "docker" => :test
depends_on "docker-credential-helper" => :test
def install
system "cargo", "install", *std_cargo_args
end
test do
assert_match version.to_s, shell_output(bin/"rails-new -V")
end
end Running $ brew audit --new rails-new
rails-new
* v0.4.1 is a GitHub pre-release.
Error: 1 problem in 1 formula detected. Ref: https://zenn.dev/kou_pg_0131/articles/homebrew-add-formula I look forward to the day to add the formula ❤️ |
+1 for this please. Homebrew installation would vastly simplify the installation process, and also hopefully remove the trust based steps on MacOS (maybe I'm reaching here?). |
I have a PR ready to go that works if Commit on my fork: This might work if you wanted to make your own tap and put |
I want the
rails-new
can be installed via Homebrew for macOS users.Expected behavior
macOS users can create a new Rails application as follows.
The text was updated successfully, but these errors were encountered: