1

从读到这里,

http://www.afp548.com/article.php?story=lion-server-review

我看到 Apple 已经放弃 MySQL 以支持 Postgre,所以我想知道它是否包含 Rails 绑定?

谢谢。

4

3 回答 3

2

刚刚将我的机器(安装了 Rails)升级到 Lion,并尝试了这个,

macbook:expenses Snips$ rails server
Rails is not currently installed on this system. To get the latest version, simply type:

    $ sudo gem install rails

You can then rerun your "rails" command.

所以,我想答案是否定的:-(

于 2011-07-20T18:03:06.353 回答
1

BitNami Rubystack will work and provide you with a out-of-the-box Rails environment with MySQL on OS X (and a bunch of preconfigured, commonly used third-party libraries and apps). Disclaimer, I am one of the developers of RubyStack. It is distributed under the Apache 2.0 open source license

于 2011-08-03T16:59:00.983 回答
1

我遇到了同样的问题。我不确定哪个是 Lion 的默认设置,但我发现

/Library/Ruby/1.8/bin/rails 

成功了。使用 sudo 我将 /usr/bin/rails 移动到 /usr/bin/rails.bak 并符号链接到其他导轨。这似乎行得通。

有趣的是,RubyMine 找到了正确的 rails 命令来使用

于 2011-07-21T04:51:37.700 回答