# Installing Discourse on Centos/WHM

**URL:** <https://meta.discourse.org/t/installing-discourse-on-centos-whm/25058>\
**Category:** Self-hosting\
**Created:** [10 فبراير 2015، 2:14ص UTC](https://meta.discourse.org/t/installing-discourse-on-centos-whm/25058 "2015-02-10T02:14:33Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![RupGautam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rupgautam/32/38727_2.png) [@RupGautam](https://meta.discourse.org/u/RupGautam)\
**Post date:** [10 فبراير 2015، 2:14ص UTC](https://meta.discourse.org/t/installing-discourse-on-centos-whm/25058/1 "2015-02-10T02:14:34Z")

</div>

I’ve reinstalled ruby and all the gems. I cloned a clean copy of the files into the folder and still get the same error on: `bundle exec rspec` The rspec gems installed without error so the problem doesn’t appear to be there.

The complete error is below.

At this point I’ve exhausted all server side issues I can think of and have to believe there is an issue with the build files that is looking for fakeweb in some other location than where it is within the install. It doesn’t matter if we specify the file directly, it still looks in the wrong location and can’t find it.

> ```
> /home/domain/public_html/support/spec/spec_helper.rb:12:in `require': cannot load such file -- fakeweb (LoadError)
> from /home/domain/public_html/support/spec/spec_helper.rb:12:in `<top (required)>'
> from /home/domain/public_html/support/spec/components/admin_user_index_query_spec.rb:1:in `require'
> from /home/domain/public_html/support/spec/components/admin_user_index_query_spec.rb:1:in `<top (required)>'
> from /home/domain/public_html/support/vendor/bundle/ruby/2.0.0/gems/rspec-core-2.99.2/lib/rspec/core/configuration.rb:1065:in `load'
> from /home/domain/public_html/support/vendor/bundle/ruby/2.0.0/gems/rspec-core-2.99.2/lib/rspec/core/configuration.rb:1065:in `block in load_spec_files'
> from /home/domain/public_html/support/vendor/bundle/ruby/2.0.0/gems/rspec-core-2.99.2/lib/rspec/core/configuration.rb:1065:in `each'
> from /home/domain/public_html/support/vendor/bundle/ruby/2.0.0/gems/rspec-core-2.99.2/lib/rspec/core/configuration.rb:1065:in `load_spec_files'
> from /home/domain/public_html/support/vendor/bundle/ruby/2.0.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:18:in `run'
> from /home/domain/public_html/support/vendor/bundle/ruby/2.0.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:103:in `run'
> from /home/domain/public_html/support/vendor/bundle/ruby/2.0.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:17:in `block in autorun'
> 
> ```

Please suggest.  
Thank you

---

_[View the full topic](https://meta.discourse.org/t/installing-discourse-on-centos-whm/25058)._
