On Mon, Mar 22, 2010 at 5:30 PM, jackster the jackle
<[email protected]>wrote:

> I was recently forced to upgrade to Rails 2.3.5 because of a problem
> with gem.
> After doing so, I'm trying to create a new site and I noticed that I am
> getting warnings for depricated commands and it looks like I'm running
> on my old Rails version 1.2.3?
>
> Can anyone help me fix this so I am running on the newer version?
>
> I am getting this message when I run script/generate:
>
> [computer1][/work/blog]$ ./script/generate controller home index
> ./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/gems/1.8/gems/rails-1.2.3/lib/rails_generator/lookup.rb:198:Warning:
> Gem::SourceIndex#search support for Regexp patterns is deprecated, use
> #find_name
>
> Thanks
>
> jack
>

Jack, after upgrading your Rails version, you need to update
your individual application(s) by doing the following:

a)  update your environment.rb to use the new Rails version
     number

b)  execute - rake rails:update

Good luck,

-Conrad


> --
> 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]<rubyonrails-talk%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>

-- 
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.

Reply via email to