# Removed edge rails but cannot find installed rails

**URL:** <https://www.ruby-forum.com/t/removed-edge-rails-but-cannot-find-installed-rails/152650>\
**Category:** Rails\
**Created:** [November 6, 2008, 12:50am UTC](https://www.ruby-forum.com/t/removed-edge-rails-but-cannot-find-installed-rails/152650 "2008-11-06T00:50:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![byrnejb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/d2c977/32.png) [@byrnejb](https://www.ruby-forum.com/u/byrnejb)\
**Post date:** [November 6, 2008, 12:50am UTC](https://www.ruby-forum.com/t/removed-edge-rails-but-cannot-find-installed-rails/152650/1 "2008-11-06T00:50:37Z")

</div>

I removed edge-rails from a project, git rm, committed and pushed the  
revised project to the shared repository, and then git pulled it onto my  
Windows XPpro laptop.

Both the original host and my laptop have Rails-2.2.0RC1 installed. The  
Gem environment is:

$ rails --version  
Rails 2.2.0

$ gem env  
RubyGems Environment:

- RUBYGEMS VERSION: 1.3.1
- RUBY VERSION: 1.8.7 (2008-08-11 patchlevel 72) [i386-cygwin]
- INSTALLATION DIRECTORY: /usr/lib/ruby/gems/1.8
- RUBY EXECUTABLE: /usr/bin/ruby.exe
- EXECUTABLE DIRECTORY: /usr/bin
- RUBYGEMS PLATFORMS:
  - ruby
  - x86-cygwin

- GEM PATHS:
  - /usr/lib/ruby/gems/1.8
  - /cygdrive/c/Documents and Settings/byrnejb/.gem/ruby/1.8

- GEM CONFIGURATION:
  - :update\_sources =\> true
  - :verbose =\> true
  - :benchmark =\> false
  - :backtrace =\> false
  - :bulk\_threshold =\> 1000

- REMOTE SOURCES:
  - [http://gems.rubyforge.org/](http://gems.rubyforge.org/)

As you can see, I have the cygwin environment on my laptop.

Now, when I try and run rake or start the mongrel server script I see  
this error:

$ rake rails:unfreeze  
(in /cygdrive/c/Documents and Settings/byrnejb/My Documents/My  
Projects/ca.harte  
-lyne.system/proforma.git)  
rake aborted!  
no such file to load – /cygdrive/c/Documents and Settings/byrnejb/My  
Documents/  
My  
Projects/ca.harte-lyne.system/proforma.git/config/…/vendor/rails/railties/li  
b/initializer  
/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2349:in  
`raw\_load\_rakefile’  
(See full trace by running task with --trace)

$ script/server  
/usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:31:in  
`gem_original_requi re': no such file to load -- ./script/../config/../vendor/rails/railties/lib/ini tializer (LoadError) from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `requi  
re’  
from ./script/…/config/boot.rb:45:in `load_initializer' from ./script/../config/boot.rb:38:in `run’  
from ./script/…/config/boot.rb:11:in `boot!' from ./script/../config/boot.rb:109 from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem\_o  
riginal\_require’  
from  
/usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:31:in `requi  
re’  
from script/server:2

This shows that despite removing vendor/rails my laptop installation is  
still trying to load from it. How do I fix this?

---

<div class="post-metadata">

**Author:** ![byrnejb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/d2c977/32.png) [@byrnejb](https://www.ruby-forum.com/u/byrnejb)\
**Post date:** [November 6, 2008, 1:22am UTC](https://www.ruby-forum.com/t/removed-edge-rails-but-cannot-find-installed-rails/152650/2 "2008-11-06T01:22:39Z")

</div>

James B. wrote:

> I removed edge-rails from a project, git rm, committed and pushed the  
> revised project to the shared repository, and then git pulled it onto my  
> Windows XPpro laptop.  
> …
> 
> This shows that despite removing vendor/rails my laptop installation is  
> still trying to load from it. How do I fix this?

Remove the directory ./vendor/rails

Problem solved!
