开发者

Can Ruby on Rails 3.0 run on Mac OS X Leopard 10.5? (instead of Snow Leopard)

开发者 https://www.devze.com 2023-01-19 14:30 出处:网络
It seems that most of Rails 3, Ruby 1.9.2 can be used, but when it is sqlite3-ruby, or mysql2 gems, then it can\'t compile, (missing mkmf?) and the latest Xcode is needed.But the late开发者_Python百科

It seems that most of Rails 3, Ruby 1.9.2 can be used, but when it is sqlite3-ruby, or mysql2 gems, then it can't compile, (missing mkmf?) and the latest Xcode is needed. But the late开发者_Python百科st Xcode is for Snow Leopard only. So looks like the Macbook needs to be upgraded to Snow Leopard before Rails 3 can be used?


Have you tried using RVM? It provides an easy way to install different Ruby (and Rails) versions in your system. This guy here describes his experience with RVM, mysql and MacOS 10.5.

Hope it helps!


It should work on Leopard without the new Xcode, get it with sudo gem install rails.

0

精彩评论

暂无评论...
验证码 换一张
取 消