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/
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?
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---