<div dir="ltr">Hi,<div><br></div><div>I recently started using Dancer2 (version 2-0.04 
tar.gz from CPAN) to develop web apps. I have developed one and am able 
to run it on the default PSGI server at port 3000.</div><div>
<br></div><div>I am trying to change the views_directory within the app 
script (and not a config file) using &#39;set views =&gt; /path/I/want/&#39; as 
given in the Dancer2 documentation. However when I deploy the app it by 
default looks only in &#39;appsdir/views/&#39; directory. Not sure why it 
doesn&#39;t look where I point it to.</div>
<div><br></div><div>Same issue with changing the port as well. (&#39;set port =&gt; 3001&quot;)</div><div><br></div><div>Checked
 to see if I have Dancer2::Config module installed and I didn&#39;t. I tried
 installing it using cpanm and it had failed to install (as it had some 
tests failed). [Tests that failed from logs: t/logger.t Failed test:2]</div>
<div><br></div><div>I thought I should get a development version from 
github. Tried installing from github using cpanm and I get an error that
 says &quot;Couldn&#39;t find module or a distribution git://<a href="http://github.com/PerlDancer/Dancer2.git" target="_blank">github.com/PerlDancer/Dancer2.git</a>&quot;</div>
<div><br></div><div>Please let me know what is it that I am missing.<br><br></div><div>Also when I do dancer2 --version it shows Dancer 1.3113. Is this correct?<br></div><div>Is it correct that Dancer is not a requirement for Dancer2?<br>
<br></div><div><br></div><div>Thanks for your time,</div><div><br></div><div>-Sashi</div></div>