在安装ruby-enterprise版本的时候,程序自动给你安装最新版本的RAILS 如果想改用以前老的版本你可以在ruby-enterprise根目录下找到installer.rb这个文件找到360行
gem_names.each do |gem_name|
color_puts "\n<b>Installing #{gem_name}...</b>"
if !sh("#{gem} install -r --no-rdoc --no-ri --no-update-sources --backtrace #{gem_name}")
failed_gems << gem_name
将其改为
gem_names.each do |gem_name|
color_puts "\n<b>Installing #{gem_name}...</b>"
if gem_name=="rails"
puts "(输入RAILS版本)"
@input = readline.strip
sh("#{gem} install -r -v=#{@input} --no-rdoc --no-ri --no-update-sources --backtrace #{gem_name}")
else if !sh("#{gem} install -r --no-rdoc --no-ri --no-update-sources --backtrace #{gem_name}")
failed_gems << gem_name
end
end
end
就可以了 。
- 大小: 86.7 KB
分享到:
相关推荐
Ruby.on.Rails.Enterprise.Application.Development
Ruby on Rails Enterprise Application Development.pdf Ruby Rails企业应用程序开发
《Ruby on Rails企业应用程序开发》 英文PDF
Enterprise Rails introduces time-tested software engineering principles to help you build a high-performance, scalable website with global reach. You'll learn how to design a solid architecture that ...
兼容性该库与 Ruby 1.8.6 及更高版本(包括 Ruby Enterprise Edition)以及 Rails 2.0 及更高版本兼容。要求唯一的依赖项是squash_ruby gem 及其依赖项。 有关更多信息,请参阅squash_ruby gem 文档: : 用法将此 ...
Ruby on Rails 非常强大Ruby on Rails 是降低编程入门门槛的一项突破。 以前可能需要数周或数月才能开发的强大 Web 应用程序可以在几天内生成。 成千上万的Rails应用数万人已经活成千上万的Rails应用数万人已经活...
What Is Enterprise? 1 Growing Slowly 3 Understanding All the Pieces 5 Persistence Layer 5 Application Layer 8 Caching Layer 11 Messaging System 16 Web Server 16 Firewall 16 2. Organizing with Plugins ...
如何用Ruby On Rails进行企业级的系统开发。
We also cover how to extend this environment when working with frameworks such as Ruby on Rails, and discuss how creating rapid feedback loops can dramatically increase the rate at which you can ...
The light and agile Ruby programming language remains a very popular open source scripting option for developers building today's web and even some enterprise applications. And, now, Ruby also has ...
企业应用 强大的软件 欢迎来到资料库 随时访问。 坐我的床 坐我的床,受约束了吗? 悲伤,扭曲奠定了巨大的基础,有时甚至使飞行飞行的足球少了一些! 坐我的床,受约束了吗?...Ruby代码看起来像是puts 'Hello world'
The light and agile Ruby programming language remains a very popular open source scripting option for developers building today's web and even some enterprise applications. And, now, Ruby also has ...
Ruby on Rails 在开发中代理API请求 配置代理后出现“无效的主机头”错误 手动配置代理 配置WebSocket代理 在开发中使用HTTPS 在服务器上生成动态<meta>标记 预渲染为静态HTML文件 将数据从服务器注入
Also covers enterprise design patterns: MVC including Ruby on Rails, Monorail, and ASP.NET MVC, MVP, observer, and more Contains a primer on object-oriented design Professional Enterprise .NET ...
Writing Fast Tests Against Enterprise Rails 60min Overdoing it in Python 45min Lua for the Masses 30min Ruby Errors from Mismatched Gem Versions 45min Common Ruby Errors 45min Rails for Python ...
Explore common deployment scenarios, including consolidating an MRI-based Ruby deployment onto a single JVM process and porting a Rails application to JRuby, getting it into production, and keeping ...
请注意以下假设: Rails应用程序服务器将Red Hat Enterprise Linux 7用于操作系统Solr 7.X服务器可用,其中创建了索引核心,并且在核心中安装了特定于项目的配置文件MySQL数据库服务器可用于创建特定于项目的数据库...
POCO aims to be for network-centric, cross-platform C++ software development what Apple's Cocoa is for Mac development, or Ruby on Rails is for Web development — a powerful, yet easy and fun to use ...
GitHub 是一个面向开源及私有软件项目的托管平台,因为只支持 Git 作为唯一的版本库格式进行...目前,其注册用户已经超过 350 万,托管版本数量也是非常之多,其中不乏知名开源项目 Ruby on Rails、jQuery、python 等。