Skip to content

Commit

Permalink
Search for ffi in the gemfile
Browse files Browse the repository at this point in the history
  • Loading branch information
rubys committed Jan 14, 2025
1 parent ea8f996 commit 7e3a8a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dockerfile-rails.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Gem::Specification.new do |spec|
spec.name = "dockerfile-rails"
spec.version = "1.7.1"
spec.version = "1.7.2"
spec.authors = [
"Sam Ruby",
]
Expand Down
2 changes: 1 addition & 1 deletion lib/generators/dockerfile_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -741,7 +741,7 @@ def build_packages
packages = %w(build-essential libyaml-dev)
packages += @@packages["build"] if @@packages["build"]
packages += %w(nodejs npm) if (node_version == "lts") && (not using_execjs?)
packages << "libffi-dev" if @@packages["ffi"]
packages << "libffi-dev" if @gemfile.include?("ffi")

# add databases: sqlite3, postgres, mysql
packages << "pkg-config" if options.sqlite3? || @sqlite3
Expand Down

0 comments on commit 7e3a8a1

Please sign in to comment.