{"action":"created","issue":{"url":"https://api.github.com/repos/pentestgeek/phishing-frenzy/issues/226","labels_url":"https://api.github.com/repos/pentestgeek/phishing-frenzy/issues/226/labels{/name}","comments_url":"https://api.github.com/repos/pentestgeek/phishing-frenzy/issues/226/comments","events_url":"https://api.github.com/repos/pentestgeek/phishing-frenzy/issues/226/events","html_url":"https://github.com/pentestgeek/phishing-frenzy/issues/226","id":105049552,"number":226,"title":"Production mode issue","user":{"login":"amzatoune","id":14035037,"avatar_url":"https://avatars.githubusercontent.com/u/14035037?v=3","gravatar_id":"","url":"https://api.github.com/users/amzatoune","html_url":"https://github.com/amzatoune","followers_url":"https://api.github.com/users/amzatoune/followers","following_url":"https://api.github.com/users/amzatoune/following{/other_user}","gists_url":"https://api.github.com/users/amzatoune/gists{/gist_id}","starred_url":"https://api.github.com/users/amzatoune/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amzatoune/subscriptions","organizations_url":"https://api.github.com/users/amzatoune/orgs","repos_url":"https://api.github.com/users/amzatoune/repos","events_url":"https://api.github.com/users/amzatoune/events{/privacy}","received_events_url":"https://api.github.com/users/amzatoune/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pentestgeek/phishing-frenzy/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-09-05T21:23:48Z","updated_at":"2015-09-05T23:40:12Z","closed_at":null,"body":"Noting that my PF WebUI is running slow in dev mode, I thought maybe I'd switch over the production, but I can't seem to have any luck doing that ! \r\nWhen I run the first command : RAILS_ENV=production rake assets:precompile\r\n**I get this prompted error :** rake aborted!\r\ncannot load such file -- bundler/setup\r\n/var/www/phishing-frenzy/config/boot.rb:6:in `<top (required)>'\r\n/var/www/phishing-frenzy/config/application.rb:1:in `<top (required)>'\r\n/var/www/phishing-frenzy/Rakefile:5:in `<top (required)>'\r\n(See full trace by running task with --trace)\r\n\r\n**with --trace :** \r\nRAILS_ENV=production rake assets:precompile --trace\r\nrake aborted!\r\ncannot load such file -- bundler/setup\r\n/usr/local/rvm/rubies/ruby-2.1.5/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:54:in `require'\r\n/usr/local/rvm/rubies/ruby-2.1.5/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:54:in `require'\r\n/var/www/phishing-frenzy/config/boot.rb:6:in `<top (required)>'\r\n/usr/local/rvm/rubies/ruby-2.1.5/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:54:in `require'\r\n/usr/local/rvm/rubies/ruby-2.1.5/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:54:in `require'\r\n/var/www/phishing-frenzy/config/application.rb:1:in `<top (required)>'\r\n/usr/local/rvm/rubies/ruby-2.1.5/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:54:in `require'\r\n/usr/local/rvm/rubies/ruby-2.1.5/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:54:in `require'\r\n/var/www/phishing-frenzy/Rakefile:5:in `<top (required)>'\r\n/usr/local/rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/rake/rake_module.rb:25:in `load'\r\n/usr/local/rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/rake/rake_module.rb:25:in `load_rakefile'\r\n/usr/local/rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/rake/application.rb:637:in `raw_load_rakefile'\r\n/usr/local/rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/rake/application.rb:94:in `block in load_rakefile'\r\n/usr/local/rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/rake/application.rb:165:in `standard_exception_handling'\r\n/usr/local/rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/rake/application.rb:93:in `load_rakefile'\r\n/usr/local/rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/rake/application.rb:77:in `block in run'\r\n/usr/local/rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/rake/application.rb:165:in `standard_exception_handling'\r\n/usr/local/rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/rake/application.rb:75:in `run'\r\n/usr/local/rvm/rubies/ruby-2.1.5/bin/rake:33:in `<main>'\r\n\r\n\r\nAnd by the way **Apache** don't seem to be highlighted in the system status of PF ! \r\nThanks"},"comment":{"url":"https://api.github.com/repos/pentestgeek/phishing-frenzy/issues/comments/138009711","html_url":"https://github.com/pentestgeek/phishing-frenzy/issues/226#issuecomment-138009711","issue_url":"https://api.github.com/repos/pentestgeek/phishing-frenzy/issues/226","id":138009711,"user":{"login":"zeknox","id":2473269,"avatar_url":"https://avatars.githubusercontent.com/u/2473269?v=3","gravatar_id":"","url":"https://api.github.com/users/zeknox","html_url":"https://github.com/zeknox","followers_url":"https://api.github.com/users/zeknox/followers","following_url":"https://api.github.com/users/zeknox/following{/other_user}","gists_url":"https://api.github.com/users/zeknox/gists{/gist_id}","starred_url":"https://api.github.com/users/zeknox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zeknox/subscriptions","organizations_url":"https://api.github.com/users/zeknox/orgs","repos_url":"https://api.github.com/users/zeknox/repos","events_url":"https://api.github.com/users/zeknox/events{/privacy}","received_events_url":"https://api.github.com/users/zeknox/received_events","type":"User","site_admin":false},"created_at":"2015-09-05T23:40:12Z","updated_at":"2015-09-05T23:40:12Z","body":"I'm sensing that your ruby 2.1.5 version could be borked. Try to uninstall it and reinstall it, this should remove it for you:\r\n<pre>\r\n$ rvm uninstall 2.1.5\r\n</pre>\r\n\r\n<pre>\r\n$ rvm install 2.1.5\r\n</pre>"}}