如何在自制软件中安装特定版本的公式?例如,postgresql-8.4.4而不是最新的9.0.
我正在研究Rails 2.2.2应用程序.为此,我安装了Ruby版本1.9.3p551的rvm.此应用程序没有Gemfile.所以我在environment.rb文件中提到过我用rails和sqlite3创建了一个Gemfile.在运行rake db:create时,我遇到了以下问题.
whoami@myvm:~/Desktop/practice/store$ rake db:create
/home/whoami/.rvm/gems/ruby-1.9.3-p551/bin/rake:22:in `<main>': undefined method `activate_bin_path' for Gem:Module (NoMethodError)
from /home/whoami/.rvm/gems/ruby-1.9.3-p551/bin/ruby_executable_hooks:15:in `eval'
from /home/whoami/.rvm/gems/ruby-1.9.3-p551/bin/ruby_executable_hooks:15:in `<main>'
Run Code Online (Sandbox Code Playgroud)
请帮我.