Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rockspec not install nginx binary #1

Open
jtarchie opened this issue Aug 29, 2013 · 7 comments
Open

rockspec not install nginx binary #1

jtarchie opened this issue Aug 29, 2013 · 7 comments

Comments

@jtarchie
Copy link

With the following example, the rockspec does not successfully install nginx and openresty. The README on the example shows the steps to recreate the issue.

I've included the heroku buildpack output. Notice the size of the slug -- 89KB. Binaries are not getting installed correctly.

-----> Fetching custom git buildpack... done
-----> Lua app detected
-----> Copying lua to bin
-----> Installing packages
       Using https://raw.github.com/leafo/heroku-openresty/master/heroku-openresty-1.2.8.6-1.rockspec... switching to 'build' mode
       Initialized empty Git repository in /tmp/luarocks_heroku-openresty-1.2.8.6-1-7431/heroku-openresty/.git/
       fatal: Not a git repository: '.'
       Using https://raw.github.com/jtarchie/sinatra-openresty/master/sinatra-dev-1.rockspec... switching to 'build' mode
-----> Discovering process types
       Procfile declares types -> web

-----> Compiled slug size: 89K
-----> Launching... done, v8
       http://afternoon-lake-7245.herokuapp.com deployed to Heroku

To [email protected]:afternoon-lake-7245.git
 + 8aee32d...dadfd6b master -> master (forced update)
@leafo
Copy link
Owner

leafo commented Aug 29, 2013

can you show me your packages rockspec?

@leafo
Copy link
Owner

leafo commented Aug 29, 2013

actually nevermind, what happens when you try to use https://raw.github.com/leafo/heroku-openresty/master/heroku-openresty-dev-1.rockspec instead of https://raw.github.com/leafo/heroku-openresty/master/heroku-openresty-1.2.8.6-1.rockspec

The error message you included says it's having trouble checking out the git repository

@jtarchie
Copy link
Author

The dev rockspec worked. I'll stick with unless there are any objections.

Now, best way to cat the log files. :)

@leafo
Copy link
Owner

leafo commented Aug 29, 2013

Strange, I'll try to see why the versioned rockspec doesn't work.

@jtarchie
Copy link
Author

Ever figure out the issue? I'm about to give it another go.

@leafo are you still using this for your heroku deployments with LAPIS?

@leafo
Copy link
Owner

leafo commented Oct 14, 2013

Ah, sorry, completely forgot about this issue. I still use it but I've been using the dev rockspec. I'm going to release a screencast about deploying lapis to heroku soon so I'd like to find out what's going on so I don't have to tell people to use the dev version.

@josellausas
Copy link

Hey, im having this problem too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants