`
maomaode
  • 浏览: 118484 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

Ruby is on my rails

阅读更多
一. 工欲善其事 Ruby with Emacs
编辑Ruby代码,你需要RubyMode,<link rel="stylesheet" type="text/css" href="http://maomaode.bokeland.com/plugins/plogeshi/styles/plogeshi.css">正如他所说,这个plugin已经包含在了ruby的发行版本里面,你可以在/misc下找到, 复制到你的emacs/lisp目录下, 并且修改.emacs, 如下:

(setq load-path (cons "c:/bin/emacs/lisp/ruby" load-path))
 
(autoload 'ruby-mode "ruby-mode"
  "Mode for editing ruby source files" t)
(setq auto-mode-alist
      (append '((".rb$" . ruby-mode)) auto-mode-alist))
(setq interpreter-mode-alist (append '(("ruby" . ruby-mode))
                 interpreter-mode-alist))
 
(autoload 'run-ruby "inf-ruby"
  "Run an inferior Ruby process")
(autoload 'inf-ruby-keys "inf-ruby"
  "Set local key defs for inf-ruby in ruby-mode")
(add-hook 'ruby-mode-hook
          '(lambda ()
             (inf-ruby-keys)
       ))
 

如果你要安装Rails插件, 可以参考这篇文章, 注意,你必须升级到emacs22以上才可以
修改.emacs配置如下:

(setq load-path (cons "c:/bin/emacs/lisp/emacs-rails" load-path))
(require 'rails)
 

二. 参考书目

Programming Ruby
Why’s (Poignant) Guide to Ruby一本漫画ruby的书
From Java To Ruby管理者必读
Rolling with Ruby on Rails
Agile Web Development with Rails这本书废话真的很多,700页,可以压缩到100页
Enterprise.Integration.with.Ruby
Road to Rails 不错的在线PPT, 容易上手
Starting Ruby on Rails: What I Wish I Knew
Top 12 Ruby on Rails Tutorials
Ruby Tutorial 推荐阅读
74 Quality Ruby on Rails Resources and Tutorials
分享到:
评论

相关推荐

    Wrox.Professional.Ruby.on.Rails.Feb.2008

    It assumes that you already know Ruby, and have either read one of the many wonderful introductory books on Rails or have otherwise consumed some form of a Rails tutorial. In either case, you ...

    The Rails 5 Way-Leanpub(2017).pdf

    As with previous editions, this book is not a tutorial or basic introduction to Ruby or Rails. The idea is for the full-time Rails developer to give it a once over straight through at first, then use ...

    constructeev:在Ruby on Rails中开发的开源反馈平台

    建设性 是在Ruby on Rails中开发的开源反馈平台。 由bMalum(Martin Karrer)在数据库和信息系统(DBIS)Groupe(因斯布鲁克大学)的计算机科学学院获得学士学位论文开发。入门git clone ...

    Oh my ZSH! 安装脚本

    Your terminal never felt this good before. nebirhos daveverwer af-magic eastwood kolo ...Planet Argon is a Ruby on Rails development firm in Portland, Oregon USA. Follow @ohmyzsh

    ConferenceTrackManagement.zip

    01:00PM Ruby on Rails: Why We Should Move On 60min 02:00PM Common Ruby Errors 45min 02:45PM Pair Programming vs Noise 45min 03:30PM Programming in the Boondocks of Seattle 30min 04:00PM Ruby vs. ...

    Take.My.Money.Accepting.Payments.on.the.Web.1680501992

    The code in this book works with Ruby 2.3.1 and Rails 5, though nearly all of the code will run with earlier versions of Ruby and Rails. Table of Contents Chapter 1. Not Taking Payments on the Web ...

    enterprise_rails.pdf

    “This Rails Application Is the Only Application on Earth” 43 Sit Atop the Shoulders of Giants 43 Choosing the Right RDBMS 44 A Note on Migrations 44 Dispelling Myths 46 Operations and Reporting 47 5...

    The Passionate Programmer 2nd edition

    Before I had my spark lit with 37signals and Ruby on Rails, I went through a series of jobs and gigs that certainly wouldn’t fit the bill as remarkable. I was treading water and just letting one day ...

    devcamp-作品集

    Devcamp投资组合申请这是一个Ruby on Rails 5应用程序,允许用户创建自己的投资组合。特征实时聊天引擎发表评论博客文件夹拖放界面代码示例def my_great_methodputs "here it is"end alert &#40; 'Hi there' &#41; ;...

    pragmatic_segmenter:Pragmatic Segmenter是基于规则的句子边界检测工具,可跨多种语言即时使用

    安装Ruby支持Ruby 2.1.5及更高版本gem install pragmatic_segmenter Ruby on Rails将此行添加到应用程序的Gemfile中: gem 'pragmatic_segmenter'用法如果未指定语言,则库将默认为英语。 要指定一种语言,请使用其...

    activerecord_where_assoc:使ActiveRecord在关联上执行条件

    ActiveRecord哪里Assoc 使用此gem可以轻松地根据ActiveRecord(Rails...# Find my_user's posts that have at least 5 non-spam comments (not_spam is a scope on comments) my_user . posts . where_assoc_count ( 5

    devcamp-portfolio

    这是一个Ruby on Rails 5应用程序,它允许用户创建自己的作品集,并且是Dissecting Rails 5课程的演示应用程序。 特征 实时聊天引擎发表评论 博客 文件夹 拖放界面 程式码范例 def my_great_method puts "here it ...

    portafolio

    DevCamp Portafolio应用程序这是一个Ruby on Rails 5应用程序,允许用户创建自己的投资组合特征实时聊天引擎发表评论博客文件夹拖放界面程式码范例def my_great_method puts "here it is"end alert &#40; "Hi there...

    devCamp

    Devcamp投资组合申请这是一个Ruby on Rails 5应用程序,允许用户创建自己的作品集产品特点实时聊天引擎发表评论博客作品集拖放界面代码示例def my_grat_method puts "here it is"end alert &#40; 'hi there' &#41; ;

Global site tag (gtag.js) - Google Analytics