When I try to start Webrick, it is still trying to load the old path:
./script/server
./script/../config/boot.rb:26:Warning: Gem::SourceIndex#search support
for String patterns is deprecated, use #find_name
/usr/local/ruby-1.8.6/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require': no such file to load --
/usr/local/ruby-1.8.6/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/initializer
(LoadError)
from
/usr/local/ruby-1.8.6/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
from ./script/../config/boot.rb:30
from ./script/server:2:in `require'
from ./script/server:2
The new libraray exists here:
/usr/local/ruby/lib/ruby/gems/1.8/gems/rails-2.3.5
How do I tell it to boot from this version?
thanks
jack
Michael Pavling wrote:
> On 23 March 2010 00:30, jackster the jackle <[email protected]>
> wrote:
>> Can anyone help me fix this so I am running on the newer version?
>
> Uninstall the old version? If it's not there, it can't run!
> sudo gem remove rails -v1.2.3
>
> You might find though that the problems are caused by using different
> use accounts when you installed the gems... I've had issues like this
> in the past when I've installed some components as my user, and some
> as root... cue very temperamental problems!
--
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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.