Can Ruby on Rails 3.0 run on Mac OS X Leopard 10.5? (instead of Snow Leopard)
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
.
精彩评论