试图安装rvm和ruby 1.9.2
我已经安装了自制软件和git,但无法获得完整的更新,因为我一直收到权限错误.重新安装Snow Leopard并修复了权限.
现在这发生了......
$ brew install wget
错误:无法写入/ usr/local/Cellar
伙计们,我要用这个来杀死自己!
我在RVM安装多个版本的Ruby时遇到了一些问题,并且在Stackoverflow上的一个线程后我决定完全删除它.重新安装RVM后,我根本无法安装任何Ruby版本.
这是一些日志:
rvm install 2.0.0-p0
要么:
rvm install 2.0.0-p195 --autolibs = enabled
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.8/x86_64/ruby-2.0.0-p0.
Continuing with compilation. Please read 'rvm mount' to get more information on binary rubies.
Installing requirements for osx, might require sudo password.
Already up-to-date.
Installing required packages: autoconf, automake, libtool, pkg-config, libyaml, readline, libxml2, libxslt, libksba, openssl…
Error running 'requirements_osx_brew_libs_install autoconf automake libtool pkg-config libyaml readline …Run Code Online (Sandbox Code Playgroud) 运行该rake db:structure:dump命令时,我遇到以下错误:
Larson-2:app larson$ rake db:structure:dump
pg_dump: server version: 9.1.3; pg_dump version: 9.0.4
pg_dump: aborting because of server version mismatch
rake aborted!
Error dumping database
Run Code Online (Sandbox Code Playgroud)
我怎样才能更新pg_dump?我安装了pg 9.1.3,有没有办法将Rails里面的引用更新到新版本?
当我尝试通过自制软件更新postgres时,我得到以下输出:
Larson-2:app larson$ sudo brew upgrade postgresql
Password:
Error: postgresql already upgraded
Run Code Online (Sandbox Code Playgroud) postgresql ruby-on-rails pg-dump postgresql-9.1 ruby-on-rails-3.2
我一直在尝试使用brew安装tmux,但是每次插入brew install tmux它都会告诉我:
错误:无法创建/ usr / local / Cellar检查您是否有权写入/ usr / local
然后,我尝试使用sudo来执行此操作,但是它无法正常工作,我的客户不会看到brew不想与root一起使用。我已经确保/ usr / local中的所有文件都属于我。我无法更改/ usr / local文件;它说:“不允许操作”。如何解决此问题,以便可以创建地窖并允许我使用brew安装东西?
homebrew ×2
ruby ×2
rvm ×2
installation ×1
permissions ×1
pg-dump ×1
postgresql ×1
terminal ×1