https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201112

--- Comment #1 from Miroslav Lachman <[email protected]> ---
I really don't know if this is the right way. It is working workaround.
According to this post http://www.redmine.org/boards/2/topics/39093?r=39833
I added "bundler exec" in front of thin command and it works:

# bundle exec /usr/local/bin/thin -D -c /usr/local/www/redmine -u www -g www -a
0.0.0.0 -p 8080 -e production start
Changing process privilege to www:www
Using rack adapter
Thin web server (v1.6.3 codename Protein Powder)
Debugging ON
Maximum connections set to 1024
Listening on 0.0.0.0:8080, CTRL+C to stop


So I modified redmine rc script to:

cd /usr/local/www/redmine
command_args="-d -D -c /usr/local/www/redmine -u ${redmine_user} -g
${redmine_group}"
start_cmd="/usr/local/bin/bundle exec /usr/local/bin/thin ${command_args}
${redmine_flags} start"


I hope it will be fixed "thi right way" in ports tree soon.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ruby
To unsubscribe, send any mail to "[email protected]"

Reply via email to