I’m not sure the typical conventional way to make requests, but I noticed @ricardo put together ruby, and I was ALMOST able to install rails (after getting gems going)

any tips on approaching this one? looks like it choked trying to “make” the json gem.

I’d say post some logs and then I can give you some feedback.

This is about all for now :slight_smile: everything up until this dependency actually installed great.

[code]#gem install rails
Building native extensions. This could take a while…
/mnt/DroboFS/Shares/DroboApps/ruby/lib/ruby/site_ruby/1.9.1/rubygems/ext/builder.rb:47: warning: Insecure world writable dir /mnt/DroboFS/Shares/DroboApps in PATH, mode 040777
ERROR: Error installing rails:
ERROR: Failed to build gem native extension.

/mnt/DroboFS/Shares/DroboApps/ruby/bin/ruby extconf.rb

creating Makefile

sh: make: not found

Gem files will remain installed in /mnt/DroboFS/Shares/DroboApps/ruby/lib/ruby/gems/1.9.1/gems/json-1.7.7 for inspection.
Results logged to /mnt/DroboFS/Shares/DroboApps/ruby/lib/ruby/gems/1.9.1/gems/json-1.7.7/ext/json/ext/generator/gem_make.out[/code]

Here’s your problem:

This extension requires native compilation of something. Unfortunately, the 5N does not ship with a compiler (and associated tools), and thus the procedure fails.

The only way to do this right now would be to cross-compile the gem. The problem is that I’m not even sure that this is possible. A quick Google survey does not show any good documentation.

My guess is that it would involve using a native (i.e. x86_64) ruby setup on the cross-compiler VM, and configure the ruby environment to use the GCC cross-compiler. Many people seem to mention “rake-compiler” as a solution.

Sorry I can’t help you further. If you do crack this nut, though, please let us know how you did it. I would love to host it on DroboPorts as future reference for other extensions.