From: Alberich de megres Date: 2012-12-07T17:55:04+09:00 Subject: Re: Cross compiling --f46d044630d209f3da04d03f5fbf Content-Type: text/plain; charset=ISO-8859-1 I think I understand now. But my main problem is still how to cross-compile bundle install. The bundle will download extensions and compile them, so i'm not sure how to tell the bundle to use the cross-compiler toolchain. How could I do it? Thanks!! On Thu, Dec 6, 2012 at 11:53 PM, Ryan Davis wrote: > > On Dec 6, 2012, at 13:52 , Alberich de megres > wrote: > > > 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? > > You're not running `gem` FROM bash... you're running it WITH bash. > Something is terribly wrong. Probably the shebang line of the `gem` file > itself? > > > --f46d044630d209f3da04d03f5fbf Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I think I understand now.
But my main problem is still how to cross-com= pile bundle install. The bundle will download extensions and compile them, = so i'm not sure how to tell the bundle to use the cross-compiler toolch= ain. How could I do it?

Thanks!!



On Thu, Dec 6, 2012 at 11:53 PM, Ryan D= avis <ryand-ruby@zenspider.com> wrote:

On Dec 6, 2012, at 13:52 , Alberich de megres <alberich2k5@gmail.com> wrote:

> Hi Ryan,
>
> yes, I run:
> $ gem install ...
>
> I'm trying to crosscompile gitlab:
> htt= ps://github.com/gitlabhq/gitlabhq
>
> The install instructions are here:
> https://github.com/gitlabhq/gitlabhq/b= lob/stable/doc/install/installation.md
>
>
> I though I should run gem from bash. How should I run it?

You're not running `gem` FROM bash... you're running it WITH = bash. Something is terribly wrong. Probably the shebang line of the `gem` f= ile itself?



--f46d044630d209f3da04d03f5fbf--