summaryrefslogtreecommitdiff
path: root/spec/bundler/install/gems/native_extensions_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/bundler/install/gems/native_extensions_spec.rb')
-rw-r--r--spec/bundler/install/gems/native_extensions_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/bundler/install/gems/native_extensions_spec.rb b/spec/bundler/install/gems/native_extensions_spec.rb
index 8801a3c289..742f2a48a9 100644
--- a/spec/bundler/install/gems/native_extensions_spec.rb
+++ b/spec/bundler/install/gems/native_extensions_spec.rb
@@ -77,7 +77,7 @@ RSpec.describe "installing a gem with native extensions", :ruby_repo do
bundle "config set build.c_extension --with-c_extension=hello"
- install_gemfile! <<-G
+ install_gemfile <<-G
gem "c_extension", :git => #{lib_path("c_extension-1.0").to_s.dump}
G
@@ -125,12 +125,12 @@ RSpec.describe "installing a gem with native extensions", :ruby_repo do
bundle "config set build.c_extension_two --with-c_extension_two=two"
# 1st time, require only one gem -- only one of the extensions gets built.
- install_gemfile! <<-G
+ install_gemfile <<-G
gem "c_extension_one", :git => #{lib_path("gems").to_s.dump}
G
# 2nd time, require both gems -- we need both extensions to be built now.
- install_gemfile! <<-G
+ install_gemfile <<-G
gem "c_extension_one", :git => #{lib_path("gems").to_s.dump}
gem "c_extension_two", :git => #{lib_path("gems").to_s.dump}
G
@@ -170,7 +170,7 @@ RSpec.describe "installing a gem with native extensions", :ruby_repo do
bundle "config set build.c_extension --with-c_extension=hello --with-c_extension_bundle-dir=hola"
- install_gemfile! <<-G
+ install_gemfile <<-G
gem "c_extension", :git => #{lib_path("c_extension-1.0").to_s.dump}
G