简体   繁体   English

红宝石1.9.2和Rails 2.3.2

[英]ruby 1.9.2 and rails 2.3.2

Can any body tell me please how to run ruby 1.9.2 and rails 2.3.2 its requirement please... I installed ruby1.9.2 and my client insisted me to work with rails 2.3.2 so i installed rails server using ruby gem with -v option but server is not starting with ruby script/server command it is saying 任何人都可以告诉我如何运行ruby 1.9.2和rails 2.3.2它的要求吗...我安装了ruby1.9.2,我的客户坚持要求我使用rails 2.3.2,所以我使用ruby gem安装了rails服务器-v选项,但服务器不是以ruby脚本/服务器命令开头

C:\Documents and Settings\Tele\Desktop\rubygems-1.8.24\testapp>ruby script/serve
r
C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require':
cannot load such file -- script/../config/boot (LoadError)
        from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:i
n `require'
        from script/server:2:in `<main>'

Use RVM (Ruby Version Manager) and you can seemlessly manage your ruby and rails versions. 使用RVM(Ruby版本管理器),您似乎可以管理您的ruby和rails版本。

Here's the info: https://rvm.io// 这是信息: https : //rvm.io//

I know hundreds of Ruby programmers and everyone uses it. 我知道数百名Ruby程序员,每个人都使用它。 It's basically a standard at this point. 目前,这基本上是一个标准。

最后,我只是通过使用即时rails和gems 1.3.2做到了这一点,然后以任何将我的ruby版本损害到1.8.6的方式将我的rails版本升级到2.3.2。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM