分享

推荐

 非常尛貝 2012-05-10
查用的Gem列表
------------------------------------------
http:///wiki/gems

Sublime 组件-插件列表
------------------------------------------
Package Control Discover Packages
官网-插件列表
http:///sublime_packages/community

Sublime 组件-Terminal
------------------------------------------
http:///sublime_packages/terminal

Sublime 组件-RubyTest
------------------------------------------
bug
Switch between code and test",
"command": "switch_between_code_and_test", "args": {"split_view": false} 


rails的调试工具pry
看一下railscasts上的视频,就能立刻知道怎么用。
http:///episodes/280-pry-with-rails
视频下载地址
http://media./assets/episodes/videos/280-pry-with-rails.mp4

官网
http://pry.github.com/

我们的内部资料
https://github.com/ery/tech-note/tree/master/ruby-rails/pry

简单介绍
在gemfile中加入‘pry’
在controller的action中加入‘binding.pry’
启动服务器rails server
调用有关的url,terminal就会自动进入pry环境中
然后就可以调试了 

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多