1

我正在关注如何分发 Rails 应用程序

http://www.erikveen.dds.nl/distributingrubyapplications/rails.html

但是,当我这样做时:

$ ruby tar2rubyscript.rb desktopApp/

输出是:

tar2rubyscript.rb:623:in `replace': can't modify frozen String (RuntimeError)
        from tar2rubyscript.rb:623:in `block in <main>'
        from tar2rubyscript.rb:577:in `block in newlocation'
        from tar2rubyscript.rb:505:in `block in newlocation'
        from tar2rubyscript.rb:472:in `newlocation'
        from tar2rubyscript.rb:505:in `newlocation'
        from tar2rubyscript.rb:577:in `newlocation'
        from tar2rubyscript.rb:621:in `<main>'
4

0 回答 0