Sunday, 15 January 2012

Error while tying to install ruby for rail -



Error while tying to install ruby for rail -

i trying install ruby on rails using https://www.digitalocean.com/community/articles/how-to-install-ruby-on-rails-on-ubuntu-12-04-lts-precise-pangolin-with-rvm tutorial, when part need install ruby 1.9.3 display error message.

searching binary rubies, might take time. no binary rubies available for: ubuntu/12.04/i386/ruby-1.9.3-p385. continuing compilation. please read 'rvm mount' more info on binary rubies. installing ruby source to: /home/eldin/.rvm/rubies/ruby-1.9.3-p385, may take while depending on cpu(s)... ruby-1.9.3-p385 - #downloading ruby-1.9.3-p385, may take while depending on connection... ruby-1.9.3-p385 - #extracted /home/eldin/.rvm/src/ruby-1.9.3-p385 (already extracted) ruby-1.9.3-p385 - #configuring ruby-1.9.3-p385 - #compiling error running 'make', please read /home/eldin/.rvm/log/ruby-1.9.3-p385/make.log there has been error while running make. halting installation.

i can not utilize ruby interpretor, ruby not installed.

i using ubuntu os.

do know solution problem, or workaround.

thanks.

edit:

/home/eldin/.rvm/log/ruby-1.9.3-p385/make.log

content of make.log

cc = gcc ld = ld ldshared = gcc -shared cflags = -o3 -ggdb -wall -wextra -wno-unused-parameter -wno-parentheses -wno-long-long -wno-missing-field-initializers -werror=pointer-arith -werror=write-strings -werror=declaration-after-statement -werror=implicit-function-declaration -fpic xcflags = -include ruby/config.h -include ruby/missing.h -fvisibility=hidden -druby_export cppflags = -i/home/eldin/.rvm/usr/include -i. -i.ext/include/i686-linux -i./include -i. dldflags = -wl,-soname,libruby.so.1.9 solibs = -lpthread -lrt -ldl -lcrypt -lm linking miniruby vm.o: file not recognized: file truncated collect2: ld returned 1 exit status make: *** [miniruby] error 1

i have followed : http://ryanbigg.com/2010/12/ubuntu-ruby-rvm-rails-and-you/

it worked charm in first go itself. seek next steps mentioned in blog.

ruby-on-rails ruby ubuntu

No comments:

Post a Comment