https://meta.discourse.org/t/beginners-guide-to-install-discourse-on-ubuntu-for-development/14727
I failed to install discourse…
bundle exec rake db:create db:migrate
(in /srv/discourse)
rake aborted!
Errno::EACCES: Permission denied @ apply2files - /srv/discourse/app/assets/javascripts/plugins/discourse-details.js.erb
/srv/discourse/lib/plugin/instance.rb:543:in `delete'
/srv/discourse/lib/plugin/instance.rb:543:in `activate!'
lib/discourse.rb:171:in `block in activate_plugins!'
lib/discourse.rb:168:in `each'
lib/discourse.rb:168:in `activate_plugins!'
/srv/discourse/config/application.rb:259:in `<class:Application>'
/srv/discourse/config/application.rb:58:in `<module:Discourse>'
/srv/discourse/config/application.rb:57:in `<top (required)>'
/srv/discourse/Rakefile:7:in `require'
/srv/discourse/Rakefile:7:in `<top (required)>'
/home/y/.rbenv/versions/2.6.2/bin/bundle:23:in `load'
/home/y/.rbenv/versions/2.6.2/bin/bundle:23:in `<main>'
(See full trace by running task with --trace)