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

每天一剂Rails良药之Living On The Edge(of Rails Development)

    博客分类:
  • Ruby
阅读更多
想要使用最新版本的Rails?有多种方式任你选择:

1,svn更新方式
如果你安装了Subversion,在你的Rails project的vendor目录下运行以下命令
svn propset svn:externals \
"rails http://dev.rubyonrails.org/svn/rails/trunk" .

这类似于着你将Rails的开发trunk符号链接到你的vendor/rails目录下
下次你svn up你的Rails project的时候会自动更新最新的Rails代码
config/boot.rb会check vendor/rails目录,如果存在则会从它这里load Rails而不是安装的gems

2,使用svn客户端将代码check out到vendor/rails
如果你不是用svn来管理project代码,可以使用svn客户端在vendor目录下运行如下命令
svn co http://dev.rubyonrails.org/svn/rails/trunk rails


3,安装稳定发布版的Rails
rake rails:freeze:edge


4,安装beta gems版本的Rails
sudo gem install rails -s http://gems.rubyonrails.org

但是这可能不是最新版本的Rails

如果你想提交Rails的patch,可以这样做:
cd vendor/rails
svn diff > descriptive_patch_name.diff

并在http://dev.rubyonrails.org/newticket提交“[PATCH]”描述
分享到:
评论

相关推荐

    Agile Web Development with Rails 4

    You concentrate on creating the application, and Rails takes care of the details., Tens of thousands of developers have used this award-winning book to learn Rails. It’s a broad, far-reaching ...

    Agile+Web+Development+with+Rails中文版.pdf

    《Agile Web Development with Rails》是一本经典的Rails开发指南,中文版的出版使得更多的中国开发者能够深入理解并应用敏捷开发方法与Ruby on Rails框架。这本书是Rails开发者的必备参考资料,它详细介绍了如何...

    Ruby.on.Rails.Enterprise.Application.Development

    《Ruby on Rails Enterprise Application Development》是一本非常实用的书籍,不仅适合已经有一定Ruby on Rails基础的开发者阅读,也适合希望了解企业级应用开发流程的项目经理和技术管理人员。通过学习本书,你...

    Agile Web Development With Ruby On Rails第一及第二版

    《Agile Web Development With Ruby On Rails》是两本广受欢迎的书籍,主要涵盖了使用Ruby on Rails框架进行敏捷Web开发的知识。这本书的第1版和第2版分别详细讲解了如何运用敏捷开发方法来构建高效、可扩展且易于...

    Ruby on Rails教程:学习使用Rails进行Web开发Ruby on Rails Tutorial: Learn Web Development with Rails

    本书教您如何使用Ruby on Rails开发和部署真正的,具有工业实力的Web应用程序,Ruby on Rails是为诸如Twitter,Hulu,GitHub和Yellow Pages等顶级网站提供支持的开源Web框架。

    [Michael Hartl] Ruby on Rails Tutorial

    Learn Web Development with Rails Clear EPUB version in English, Second Edition “The author is clearly an expert at the Ruby language and the Rails framework, but more than that, he is a working ...

    Agile Web Development with Rails

    《敏捷Web开发与Rails》是一本深度探讨使用Ruby on Rails框架进行敏捷Web应用开发的经典著作。这本书详尽地阐述了如何利用Rails的强大功能,高效、快速地构建动态、响应式的Web应用程序。Rails作为Ruby的一个开源Web...

    Ruby on Rails Guides v2 - Ruby on Rails 4.2.5

    ### Ruby on Rails Guides v2 - Ruby on Rails 4.2.5 #### 一、重要概念及基础假设 - **重要概念**:本指南旨在帮助读者深入理解Ruby on Rails(以下简称Rails)4.2.5版本的核心功能与最佳实践。 - **基础假设**:...

    Ajax on Rails

    Learn to build dynamic, interactive web applications using the two most important approaches to web development today: Ajax and the phenomenally efficient Ruby on Rails platform. This book teaches ...

    Beginning Ruby on Rails

    With the intuitive, straightforward nature of Ruby and the development platform provided by Rails, you can put together full-fledged web applications quickly, even if you're new to web programming. ...

    Ruby on Rails Tutorial

    《Ruby on Rails Tutorial》中文版(原书第2版,涵盖 Rails 4) Ruby 是一门很美的计算机语言,其设计原则就是“让编程人员快乐”。David Heinemeier Hansson 就是看重了这一点,才在开发 Rails 框架时选择了 Ruby...

    The Rails3 Way, 2nd Edition

    Ruby on Rails strips complexity from the development process, enabling professional developers to focus on what matters most: delivering business value via clean and maintainable code. The Rails™ 3 ...

    Agile Web Development with Rails Final

    Ruby on Rails (often shortened as Rails) is a server-side web application framework written in Ruby under the MIT License. It uses Model-View-Controller (MVC) architecture and emphasizes convention ...

    ruby on rails最新版

    Ruby on Rails,简称Rails,是基于Ruby编程语言的一个开源Web应用程序框架,它遵循MVC(模型-视图-控制器)架构模式,旨在提高开发效率和代码的可读性。Rails以其“约定优于配置”(Convention over Configuration)...

Global site tag (gtag.js) - Google Analytics