On 17 February 2013 23:12, Wayne L. <spectacularstuff@gmail.com> wrote:
> 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
You need to install the development tools. On Ubuntu this would be
the package build-essential, plus some others. I don't know whether
it will help but googling for
install ruby rails qnap
found this [1] and others
If possible I suggest that you use rvm to install RoR.
Colin
[1] http://forum.qnap.com/viewtopic.php?p=248556
--
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.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment