Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8365437
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T12:39:24+00:00 2026-06-09T12:39:24+00:00

How can I install Yaws as a Rebar dependency in my Erlang application? Thanks,

  • 0

How can I install Yaws as a Rebar dependency in my Erlang application?

Thanks,

LRP

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T12:39:25+00:00Added an answer on June 9, 2026 at 12:39 pm

    First, make sure you’re using a recent version of rebar, say from April 2012 or later (rebar commit dc472b or later), as changes to it were made in early 2012 specifically to support projects like Yaws.

    To use Yaws as a dependency, specify the following in your rebar.config file:

    {deps, [{yaws, ".*", {git, "git://github.com/klacke/yaws", {branch, "master"}}}]}.
    

    You can replace the {branch, "master"} part with a specific Yaws tag if you like:

    {deps, [{yaws, ".*", {git, "git://github.com/klacke/yaws", {tag, "yaws-1.94"}}}]}.
    

    Note, though, that I don’t recommend using a version lower than Yaws 1.94 due to changes made to Yaws specifically for rebar build support.

    How you actually run Yaws depends on how your app uses it. Using it in an embedded fashion is probably best for rebar-built apps, since that way you won’t have any dependencies on yaws.conf files. But if you want to run Yaws as a stand-alone web server, you can build your dependencies and your application and then run Yaws interactively like this:

    rebar get-deps compile
    ./deps/yaws/bin/yaws -i -pa ebin
    

    This uses the default yaws.conf file found in ./deps/yaws/etc/yaws/yaws.conf, which you can modify as needed. Starting Yaws in this fashion won’t include the ebin directories of any other of your application’s rebar dependencies in the load path, but you can either add the necessary paths using additional -pa options to Yaws, or by specifying them in the yaws.conf file.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got a ClickOnce application deployed that many machines can install just fine -
how can I install an application from the BETA market on a WP7? (
I have a silverlight application which users can install out-of-browser . When the right-click
I want to make my android application as executable file that can install in
I there anyway that I can install a SharePoint web application not on the
How i can install the CDT plug-in (that you can develop in C++ under
I would like to know if I can install IIS 7.5 on Windows Server
I am creating a Rails app for work and until I can install the
I am on OSX Snow Leopard (10.6.2) I can install anything I need to.
Is there any module in Orchard CMS that I can install to get a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.