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

needs dependencies optimisation #1

Closed
okliv opened this issue Aug 26, 2016 · 3 comments
Closed

needs dependencies optimisation #1

okliv opened this issue Aug 26, 2016 · 3 comments

Comments

@okliv
Copy link

okliv commented Aug 26, 2016

Parsing documentation for rack-protection-1.5.3
Installing ri documentation for rack-protection-1.5.3
Parsing documentation for sinatra-1.4.7
Installing ri documentation for sinatra-1.4.7

Done installing documentation for rack-protection, sinatra, ast, parser, parallel, haml, rubrowser after 273 seconds
7 gems installed

after 273 seconds! =)

is this necessary?

@emad-elsaid
Copy link
Owner

oh, that is a long time to parse docs I guess, maybe installing without ri will help cut down time.
another point, I guess rack-protection is a requirement for sinatra, I'll look into it and see if I can remove it from dependencies somehow.

thanks for the heads up.

@emad-elsaid
Copy link
Owner

well rack-protection gem is merged to sinatra master so I guess it won't be installed separately in the next release, so If we decided to cut down installation time we'll have to remove sinatra and run our own http server.
and also looks like the main problem is documentation parsing, If you don't need it you can install it via :

gem install --no-ri --no-rdoc

emad-elsaid pushed a commit that referenced this issue Aug 26, 2016
@emad-elsaid
Copy link
Owner

removed all dependencies but parser gem as we can't redo what it does in a simple way (i guess 😄 )

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

2 participants