method
write_specification
rails latest stable - Class:
Rails::GemDependency
write_specification(spec)public
No documentation available.
# File railties/lib/rails/gem_dependency.rb, line 265
def write_specification(spec)
# copy the gem's specification into GEMDIR/.specification so that
# we can access information about the gem on deployment systems
# without having the gem installed
File.open(unpacked_specification_filename, 'w') do |file|
file.puts spec.to_yaml
end
end