Closed. This question needs details or clarity。它当前不接受答案。
                            
                        
                    
                
                            
                                
                
                        
                            
                        
                    
                        
                            想改善这个问题吗?添加详细信息并通过editing this post阐明问题。
                        
                        6年前关闭。
                                                                                            
                
        
我在Ubuntu上安装了Shoes,但无法正常工作。
例:

它不起作用

     Shoes.app :width => 200 :height => 300 do
    button("Hello"){
        alert("DaBuDi")
    }
end


它在“鞋子”窗口中写入“语法错误” ...

 Shoes.app do
    button("Hello"){
        alert("DaBuDi")
    }
end


而且有效。

我已经按照https://github.com/shoes/shoes/wiki/Building-Shoes-on-Linux上的说明安装了Shoes。

最佳答案

您在哈希对之间错过了,

Shoes.app :width => 200, :height => 300 do


也许()更好

Shoes.app(:width => 200, :height => 300) do

10-07 20:30