mac os10.8.2 xcode4.5 并且 Command Line Toos 也都装了 然后安装 wiki 文档一步步走到 rvm pkg install readline 就报上面的错
#6 楼 @topswim 你的问题解决没,我用的 mac 和你报同样的错误
MacBook-Pro:~ zhanglei$rvm reinstall all --force MacBook-Pro:~ zhanglei$ rvm pkg install readline Fetching readline-5.2.tar.gz to /Users/gsm/.rvm/archives Extracting readline-5.2.tar.gz to /Users/gsm/.rvm/src Applying patch '/Users/gsm/.rvm/patches/readline-5.2/shobj-conf.patch'... Configuring readline in /Users/zhanglei/.rvm/src/readline-5.2. Compiling readline in /Users/zhanglei/.rvm/src/readline-5.2. Installing readline to /Users/zhanglei/.rvm/usr
Please note that it's required to reinstall all rubies:
rvm reinstall all --force
Fetching readline-6.2.tar.gz to /Users/gsm/.rvm/archives There is no checksum for 'http://ftp.gnu.org/gnu/readline/readline-6.2.tar.gz' or 'readline-6.2.tar.gz', it's not possible to validate it. If you wish to continue with unverified download add '--verify-downloads 1' after the command.
Please note that it's required to reinstall all rubies:
rvm reinstall all --force 社区有谁知道提示下,第一次装 rails
怎么重装所有的 ruby 之前没装过 ruby,安装命令麻烦贴下
不知道咋回事,按照 ruby-china 的 wiki 文档走到 rvm pkg install readline 就上面的东西,不知道怎么弄
我也遇到了
Please note that it's required to reinstall all rubies:
rvm reinstall all --force
Fetching readline-6.2.tar.gz to /Users/gsm/.rvm/archives There is no checksum for 'http://ftp.gnu.org/gnu/readline/readline-6.2.tar.gz' or 'readline-6.2.tar.gz', it's not possible to validate it. If you wish to continue with unverified download add '--verify-downloads 1' after the command. 这样的 等待中
#46 楼 @IchiNiNiIchi Library 貌似隐藏着的,defaults write com.apple.finder AppleShowAllFiles -bool true 显示隐藏文件貌似也没用,请问还有什么方式可以删除
#43 楼 @IchiNiNiIchi 据说 10.8 系统续航有问题
#43 楼 @IchiNiNiIchi 系统 10.7.4 难道还要升级到 10.8
#41 楼 @IchiNiNiIchi 执行 ruby <(curl -fsSk https://raw.github.com/mxcl/homebrew/go)
#38 楼 @IchiNiNiIchi git remote add git://github.com/mxcl/homebrew.git 之后报如下 fatal: Not a git repository (or any of the parent directories): .git 还要执行 git reset --hard git clean -f -d git pull origin master brew update sudo chmod 775 /usr/local 这些吗
#34 楼 @IchiNiNiIchi ls -dl /usr/local/.git ls: /usr/local/.git: No such file or directory 貌似文件没有
#34 楼 @IchiNiNiIchi ls -dl /usr/local drwxr-xr-x 10 root wheel 340 8 11 18:56 /usr/local
#26 楼 @IchiNiNiIchi brew -v Homebrew 0.9.2
#26 楼 @IchiNiNiIchi 这是咋回事 之前执行过 brew install libksba
#24 楼 @diudiutang Command Line Tools 如何重装
难道非要重装 mac 系统 重装 xcode4.1 才能配置 rails
#20 楼 @diudiutang 哥们儿 看看
#18 楼 @diudiutang 哥们儿 刚执行 [[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" source ~/.bash_profile rvm install 1.9.3 --with-readline-dir=$rvm_path/usr 同样报最开始贴的东西 还在郁闷中。。。。。
#14 楼 @diudiutang 还有什么办法吗????
不加这个 我直接执行的 rvm install 1.9.3 也是我最开始贴的同样的提示 我的 xcode4.3.3
各种诡异 按照各位的建议都试过了还是报最开始贴的东西
各种方式都试过了 gcc brew install libksba 打开 xcode=> preference => downloads => Command Line Tools 安装这个 sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer 等都试过了 执行 rvm install 1.9.2 --with-readline-dir=$rvm_path/usr 还是报最开始贴的东西 难道人品问题 哎。。。。
有谁能帮我解答下,谢谢!万分感谢,想搞 rails 环境问题很郁闷
gcc -v Using built-in specs. Target: i686-apple-darwin11 Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2336.9~22/src/configure --disable-checking --enable-werror --prefix=/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin11 --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2336.9~22/dst-llvmCore/Developer/usr/local --program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11 --target=i686-apple-darwin11 --with-gxx-include-dir=/usr/include/c++/4.2.1 Thread model: posix gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.9.00)
rvm install 1.9.2 --with-readline-dir=$rvm_path/usr 提示 Ruby (and needed base gems) for your selection will be installed shortly. Before it happens, please read and execute the instructions below. Please use a separate terminal to execute any additional commands.
Notes for Mac OS X 10.7.4, Xcode 4.3.3.
For MacRuby: Install LLVM first.
For JRuby: Install the JDK. See http://developer.apple.com/java/download/ # Current Java version "1.6.0_26" For IronRuby: Install Mono >= 2.6 For Ruby 1.9.3: Install libksba # If using Homebrew, 'brew install libksba'
You can use & download osx-gcc-installer: https://github.com/kennethreitz/osx-gcc-installer ** NOTE: Currently, Node.js is having issues building with osx-gcc-installer. The only fix is to install Xcode over osx-gcc-installer.
We had reports of http://hpc.sourceforge.net/ making things work, but it looks like not easiest/safest to setup.
To use an RVM installed Ruby as default, instead of the system ruby:
本机系统 Mac OS X 10.7.4 Xcode 4.3.3. 按照 9 楼手动设置也试过了还是这样
貌似 xcode 4.3.3 配置 rails 很有问题,谁这样配置过,有没有好点的帖子