Hi Ryan,

yes, I run:
$ gem install ...

I'm trying to crosscompile gitlab:
https://github.com/gitlabhq/gitlabhq

The install instructions are here:
https://github.com/gitlabhq/gitlabhq/blob/stable/doc/install/installation.md


I though I should run gem from bash. How should I run it?

My goal is to cross compile gems, not to compile them on the target
system. Is there any alternative?

thanks!

On Wed, Dec 5, 2012 at 9:18 PM, Ryan Davis <ryand-ruby / zenspider.com> wrote:

>
> On Dec 5, 2012, at 03:03 , Alberich de megres <alberich2k5 / gmail.com>
> 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.
>
>
>