On Tue, Oct 16, 2012 at 6:04 PM, Hisham <[email protected]> wrote: > On Tue, Oct 16, 2012 at 5:48 PM, Mauricio Henrique Bomfim > <[email protected]> wrote: >> On Tue, Oct 16, 2012 at 4:20 PM, Hisham <[email protected]> wrote: >>> On Thu, Oct 11, 2012 at 7:26 PM, Mauricio Henrique Bomfim >>> <[email protected]> wrote: >>>> There is some way to set the source of a dependency into a rockpeck? >>>> >>>> Something like: >>>> >>>> dependencies = { >>>> sputnik = { source = "http://spu.tnik.org/rocks/galaxy" } >>>> } >>> >>> No, the servers to be used are dependent on the user's configuration, >>> not on the rockspec. >>> >>> If the user uses luarocks install >>> --server=http://spu.tnik.org/rocks/galaxy <rock> >>> >>> it will try that server first, for each dependency. >> >> Thanks. >> >> I just tried put the complete rockspec address and it worked for me: >> >> dependencies = { >> "http://sputnik.freewisdom.org/rocks/galaxy/sputnik-10.12.28-0.rockspec", >> } > > It did!?
Yes. But just now, I realized that the luarocks I'm using is different from official version. I'm using luarocks from this package https://github.com/leafo/heroku-buildpack-lua for install Lua applications on Heroku hosting. []s Mauricio > > I can almost see how this would accidentally work in the code if the > URL was parsed as a rock name and it was then passed to install.run(), > but I think there's a search command in the way that would trap that. > I also tried to stuff the URL into a dependencies table of a rockspec > here to see what would happen and got this error: > > Error: Parse error processing dependency > 'http://sputnik.freewisdom.org/rocks/galaxy/sputnik-10.12.28-0.rockspec' > > (This is running the latest Git code, which is for these purposes, the > same as the latest release.) > > -- Hisham > http://hisham.hm/ > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_sfd2d_oct > _______________________________________________ > Luarocks-developers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/luarocks-developers ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Luarocks-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/luarocks-developers
