lib/bootboot/command.rb in bootboot-0.1.1 vs lib/bootboot/command.rb in bootboot-0.1.2
- old
+ new
@@ -13,14 +13,14 @@
File.open(GEMFILE, 'a+') do |f|
f.write(<<-EOM)
Plugin.send(:load_plugin, 'bootboot') if Plugin.installed?('bootboot')
-if ENV['DEPENDENCIES_NEXT']
+if ENV['#{Bootboot.env_next}']
enable_dual_booting if Plugin.installed?('bootboot')
# Add any gem you want here, they will be loaded only when running
- # bundler command prefixed with `#{DUALBOOT_NEXT}=1`.
+ # bundler command prefixed with `#{Bootboot.env_next}=1`.
end
EOM
end
end
end