Flowdock
method

write_specification

Importance_0
v2.3.2 - Show latest stable - 0 notes - Class: Rails::GemDependency
write_specification(spec) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File railties/lib/rails/gem_dependency.rb, line 229
    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
Register or log in to add new notes.