From: Ryan Davis Date: 2012-12-06T05:18:49+09:00 Subject: Re: Cross compiling On Dec 5, 2012, at 03:03 , Alberich de megres wrote: > Hi Carlo, > > I'm using gem and bundle to install software. And is at this point where I'm lost. > There's no extension directory and no extconf.rb file. > > I could identify a Rakefile, and a Gemfile. > Tried setting up somethin like: > export CC=arm-linux-gcc, and so > export PATH=/path/to/cross-compiled/ruby/bin:$PATH > then gem install > > But i'm getting something: > /dest/bin/gem: line 8: require: command not found > /dest/bin/gem: line 9: require: command not found > /dest/bin/gem: line 10: require: command not found > dest/bin/gem: line 12: required_version: command not found > [...] that looks like it is being run by bash, not ruby.