Sunday, February 17, 2013

[Rails] Error on installation of Ruby On Rails on QNAP TS809U-RP [Linux]

I am not sure where I should even begin troubleshooting this. I know a little bit about Linux and am comfortable editing files and running commands however definitely not a Linux guru. I have ipkg already installed on the QNAP. I know absolutely nothing about ruby on rails. Thanks for any help.
For those that are not familiar with a QNAP, ipkg is the same as apt-get or yum in some Linux distros.  (I have also attempted to build ruby on rails from source and I receive the same error when attempting to install rails.  Can someone help?

I run
ipkg install ruby
successful
then ipkg install rubygems
successful
then (as I have read) ipkg install ruby -force_reinstall
successful
then gem install rails (I receive the following error)

[~] # gem install rails
Building native extensions. This could take a while...
ERROR: Error installing rails:
ERROR: Failed to build gem native extension.

/opt/bin/ruby extconf.rb
creating Makefile

make
/home/slug/optware/ts509/toolchain/i686-unknown-linux-gnu/bin/i686-unknown-linux-gnu-gcc -I. -I/opt/include/ruby-1.9.1/i686-linux -I/opt/include/ruby-1.9.1/ruby/backward -I/opt/include/ruby-1.9.1 -I. -DJSON_GENERATOR -O2 -O2 -I/home/slug/optware/ts509/staging/opt/include -D_FILE_OFFSET_BITS=64 -fPIC -O2 -g -Wall -Wno-parentheses -fPIC -O3 -Wall -O0 -ggdb -o generator.o -c generator.c
make: /home/slug/optware/ts509/toolchain/i686-unknown-linux-gnu/bin/i686-unknown-linux-gnu-gcc: Command not found
make: *** [generator.o] Error 127


Gem files will remain installed in /opt/lib/ruby/gems/1.9.1/gems/json-1.7.7 for inspection.
Results logged to /opt/lib/ruby/gems/1.9.1/gems/json-1.7.7/ext/json/ext/generator/gem_make.out

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/SoUku-4leWIJ.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate