根据命令行,我的问题是我没有安装ruby 1.9.3-p194.我不知道我能做些什么来解决这个问题.
$rvm install ruby-1.9.3-p194No binary rubIEs available for: osx/10.7/x86_64/ruby-1.9.3-p194.Continuing with compilation. Please read 'rvm mount' to get more information on binary rubIEs.Installing Ruby from source to: /Users/glIDer/.rvm/rubIEs/ruby-1.9.3-p194,this may take a while depending on your cpu(s)...ruby-1.9.3-p194 - #downloading ruby-1.9.3-p194,this may take a while depending on your connection...ruby-1.9.3-p194 - #extracted to /Users/glIDer/.rvm/src/ruby-1.9.3-p194 (already extracted)ruby-1.9.3-p194 - #configuringError running 'env LDFLAGS=-L/opt/sm/pkg/active/lib CFLAGS=-I/Opt/sm/pkg/active/include CPATH=/opt/sm/pkg/active/include -L/Users/glIDer/.rvm/usr/lib ./configure --enable-shared --disable-install-doc --prefix=/Users/glIDer/.rvm/rubIEs/ruby-1.9.3-p194',please read /Users/glIDer/.rvm/log/ruby-1.9.3-p194/configure.logThere has been an error while running configure. Halting the installation.解决方法 如果您使用railsinstaller.org安装了rails,则/ etc / rvmrc中存在一个错误.打开该文件并将定义rvm_configure_env的单个字符串更改为三个单独的字符串.
这是带有错误的默认代码:
rvm_configure_env=('LDFLAGS=-L/opt/sm/pkg/active/lib CFLAGS=-I/Opt/sm/pkg/active/include CPATH=/opt/sm/pkg/active/include')
这是更正后的代码:
rvm_configure_env=('LDFLAGS=-L/opt/sm/pkg/active/lib' 'CFLAGS=-I/Opt/sm/pkg/active/include' 'CPATH=/opt/sm/pkg/active/include')总结
以上是内存溢出为你收集整理的ruby-on-rails – 麻烦安装ruby 1.9.3-p194全部内容,希望文章能够帮你解决ruby-on-rails – 麻烦安装ruby 1.9.3-p194所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)