Re: [phusion-passenger] Ruby (Rack) application could not be started

52 views
Skip to first unread message

Tinco Andringa

unread,
Oct 25, 2012, 12:25:37 PM10/25/12
to phusion-...@googlegroups.com
Hi,

It seems like you forgot the 'public' part of this command:

ln -s /srv/http/rackapp/public /websites/phusion/rack

Which causes passenger to look in /srv/http instead of
/srv/http/rackapp for the config.ru file.

If that does not fix it please paste the output of ls -l in your
webapp directory and your config file :)

Kind regards,
Tinco Andringa


On Thu, Oct 25, 2012 at 3:37 PM, enrico stano <enri...@gmail.com> wrote:
> Hi,
>
> I'm following the official guide
> http://www.modrails.com/documentation/Users%20guide%20Apache.html#deploying_rack_to_sub_uri
> to deploy my Ruby on Rails app to a subfolder.
>
> Bu when I go to www.mydomain.com/subfolder I get:
>
> Error message: No such file or directory - config.ruException class:
> Errno::ENOENTApplication root: /srv/http
>
> The is with application root... but how should I fix it?
>
> You could find all the details here
> http://stackoverflow.com/questions/13068413/passenger-ruby-rack-application-could-not-be-started
>
>
> many thanks!
>
> enrico
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Phusion Passenger Discussions" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/phusion-passenger/-/09FatTJOvUwJ.
> To post to this group, send email to phusion-...@googlegroups.com.
> To unsubscribe from this group, send email to
> phusion-passen...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/phusion-passenger?hl=en.

enrico stano

unread,
Oct 25, 2012, 12:31:18 PM10/25/12
to phusion-...@googlegroups.com
Hi Tinco,


thank you for your time!

the ln command was correct, but in http-vhosts.conf I used RackBaseURI
/copisteria but I have to use RackBaseURI /copy

thank you btw

2012/10/25 Tinco Andringa <ti...@phusion.nl>:
--
· Enrico Stano
·
· twitter @enricostano
· skype ocirneonats
Reply all
Reply to author
Forward
0 new messages