I have been working with rails and have been trying to setup passenger with rake 10.1.0 and it sends back me this errors.
Here is the link to the error.Website LInk
It looks like Bundler could not find a gem. This is probably because your application is being run under a different environment than it's supposed to. Please check the following: * Is this app supposed to be run as the `rails` user? * Is this app being run on the correct Ruby interpreter? Below you will see which Ruby interpreter Phusion Passenger attempted to use. * Are you using RVM? Please check whether the correct gemset is being used. * If all of the above fails, try resetting your RVM gemsets: https://github.com/phusion/passenger/wiki/Resetting-RVM-gemsets -------- The exception is as follows: ------- Could not find rake-10.1.0 in any of the sources (Bundler::GemNotFound) /usr/local/rvm/gems/ruby-2.0.0-p353@global/gems/bundler-1.3.5/lib/bundler/spec_set.rb:92:in `block in materialize' /usr/local/rvm/gems/ruby-2.0.0-p353@global/gems/bundler-1.3.5/lib/bundler/spec_set.rb:85:in `map!' /usr/local/rvm/gems/ruby-2.0.0-p353@global/gems/bundler-1.3.5/lib/bundler/spec_set.rb:85:in `materialize' /usr/local/rvm/gems/ruby-2.0.0-p353@global/gems/bundler-1.3.5/lib/bundler/definition.rb:114:in `specs' /usr/local/rvm/gems/ruby-2.0.0-p353@global/gems/bundler-1.3.5/lib/bundler/definition.rb:159:in `specs_for' /usr/local/rvm/gems/ruby-2.0.0-p353@global/gems/bundler-1.3.5/lib/bundler/definition.rb:148:in `requested_specs' /usr/local/rvm/gems/ruby-2.0.0-p353@global/gems/bundler-1.3.5/lib/bundler/environment.rb:18:in `requested_specs' /usr/local/rvm/gems/ruby-2.0.0-p353@global/gems/bundler-1.3.5/lib/bundler/runtime.rb:13:in `setup' /usr/local/rvm/gems/ruby-2.0.0-p353@global/gems/bundler-1.3.5/lib/bundler.rb:120:in `setup' /usr/local/rvm/gems/ruby-2.0.0-p353@global/gems/bundler-1.3.5/lib/bundler/setup.rb:17:in `
' /usr/local/rvm/rubies/ruby-2.0.0-p353/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:135:in `require' /usr/local/rvm/rubies/ruby-2.0.0-p353/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:135:in `rescue in require' /usr/local/rvm/rubies/ruby-2.0.0-p353/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:144:in `require' /home/rails/.rvm/gems/ruby-2.0.0-p353@global/gems/passenger-4.0.27/lib/phusion_passenger/loader_shared_helpers.rb:219:in `block in run_load_path_setup_code' /home/rails/.rvm/gems/ruby-2.0.0-p353@global/gems/passenger-4.0.27/lib/phusion_passenger/loader_shared_helpers.rb:333:in `running_bundler' /home/rails/.rvm/gems/ruby-2.0.0-p353@global/gems/passenger-4.0.27/lib/phusion_passenger/loader_shared_helpers.rb:217:in `run_load_path_setup_code' /home/rails/.rvm/gems/ruby-2.0.0-p353@global/gems/passenger-4.0.27/helper-scripts/rack-preloader.rb:96:in `preload_app' /home/rails/.rvm/gems/ruby-2.0.0-p353@global/gems/passenger-4.0.27/helper-scripts/rack-preloader.rb:150:in ` ' /home/rails/.rvm/gems/ruby-2.0.0-p353@global/gems/passenger-4.0.27/helper-scripts/rack-preloader.rb:29:in ` ' /home/rails/.rvm/gems/ruby-2.0.0-p353@global/gems/passenger-4.0.27/helper-scripts/rack-preloader.rb:28:in ` ' Application root /home/rails/testourwedding Environment (value of RAILS_ENV, RACK_ENV, WSGI_ENV and PASSENGER_ENV) production Ruby interpreter command /usr/local/rvm/wrappers/ruby-2.0.0-p353@global/ruby User and groups uid=1000(rails) gid=1000(rails) groups=1000(rails),0(root),27(sudo),1001(rvm) Environment variables APACHE_PID_FILE = /var/run/apache2/apache2.pid rvm_bin_path = /usr/local/rvm/bin GEM_HOME = /usr/local/rvm/gems/ruby-2.0.0-p353@global APACHE_RUN_USER = www-data SHELL = /bin/bash IRBRC = /usr/local/rvm/rubies/ruby-2.0.0-p353/.irbrc PYTHONUNBUFFERED = 1 PASSENGER_DEBUG_DIR = /tmp/passenger.spawn-debug.XXXXcwNYKJ SERVER_PORT = 80 MY_RUBY_HOME = /usr/local/rvm/rubies/ruby-2.0.0-p353 USER = rails DOCUMENT_ROOT = /home/rails/testourwedding/public _system_type = Linux REQUEST_URI = / rvm_path = /usr/local/rvm IN_PASSENGER = 1 RACK_ENV = production REMOTE_PORT = 53796 rvm_prefix = /usr/local PATH = /usr/local/rvm/gems/ruby-2.0.0-p353@global/bin:/usr/local/rvm/gems/ruby-2.0.0-p353@global/bin:/usr/local/rvm/rubies/ruby-2.0.0-p353/bin:/usr/local/rvm/bin:/usr/local/rvm/gems/ruby-2.0.0-p353/bin:/usr/local/rvm/gems/ruby-2.0.0-p353@global/bin:/usr/local/rvm/rubies/ruby-2.0.0-p353/bin:/usr/local/rvm/bin:/usr/local/bin:/usr/bin:/bin APACHE_LOG_DIR = /var/log/apache2 WSGI_ENV = production SERVER_ADMIN = [no address given] PWD = /home/rails/testourwedding LANG = C APACHE_RUN_GROUP = www-data NODE_PATH = /home/rails/.rvm/gems/ruby-2.0.0-p353@global/gems/passenger-4.0.27/node_lib _system_arch = x86_64 NODE_ENV = production _system_version = 13.10 rvm_env_string = ruby-2.0.0-p353@global REMOTE_ADDR = 72.32.146.52 rvm_version = 1.24.7 (stable) SERVER_NAME = www.brandtandlaura.com HOME = /home/rails SHLVL = 0 rvm_gemset_name = global RAILS_ENV = production rvm_ruby_string = ruby-2.0.0-p353 SERVER_SOFTWARE = Apache/2.4.6 (Ubuntu) LOGNAME = rails QUERY_STRING = SERVER_ADDR = 166.78.174.208 GEM_PATH = /usr/local/rvm/gems/ruby-2.0.0-p353@global SERVER_PROTOCOL = HTTP/1.1 PASSENGER_APP_ENV = production APACHE_RUN_DIR = /var/run/apache2 APACHE_LOCK_DIR = /var/lock/apache2 REQUEST_METHOD = GET RUBY_VERSION = ruby-2.0.0-p353 _system_name = Ubuntu _ORIGINAL_GEM_PATH = /usr/local/rvm/gems/ruby-2.0.0-p353@global Ulimits Unknown System memory usage total used free shared buffers cached Mem: 4001 1870 2131 0 180 1488 -/+ buffers/cache: 202 3799 Swap: 0 0 0 General Ruby interpreter information RUBY_VERSION = 2.0.0 RUBY_PLATFORM = x86_64-linux RUBY_ENGINE = ruby RubyGems version = 2.1.11 Ruby configuration (RbConfig::CONFIG) DESTDIR = MAJOR = 2 MINOR = 0 TEENY = 0 PATCHLEVEL = 353 INSTALL = /usr/bin/install -c EXEEXT = prefix = /usr/local/rvm/rubies/ruby-2.0.0-p353 ruby_install_name = ruby RUBY_INSTALL_NAME = ruby RUBY_SO_NAME = ruby exec = exec ruby_pc = ruby-2.0.pc PACKAGE = ruby BUILTIN_TRANSSRCS = newline.c USE_RUBYGEMS = YES MANTYPE = doc NROFF = /usr/bin/nroff vendorarchhdrdir = /usr/local/rvm/rubies/ruby-2.0.0-p353/include/ruby-2.0.0/vendor_ruby/x86_64-linux sitearchhdrdir = /usr/local/rvm/rubies/ruby-2.0.0-p353/include/ruby-2.0.0/site_ruby/x86_64-linux rubyarchhdrdir = /usr/local/rvm/rubies/ruby-2.0.0-p353/include/ruby-2.0.0/x86_64-linux vendorhdrdir = /usr/local/rvm/rubies/ruby-2.0.0-p353/include/ruby-2.0.0/vendor_ruby sitehdrdir = /usr/local/rvm/rubies/ruby-2.0.0-p353/include/ruby-2.0.0/site_ruby rubyhdrdir = /usr/local/rvm/rubies/ruby-2.0.0-p353/include/ruby-2.0.0 UNIVERSAL_INTS = UNIVERSAL_ARCHNAMES = configure_args = '--prefix=