What does the environment.rb show as the rails version?

On Jan 12, 10:40 am, Boris Bob <[email protected]> wrote:
> Hi
> Strange thing happens when i run rails project it makes project but when
> i run script/generate or script/server it writes
>
> Missing the Rails 2.3.5 gem. Please `gem install -v=2.3.5 rails`, update
> your RAILS_GEM_VERSION setting in config/environment.rb for the Rails
> version you do have installed, or comment out RAILS_GEM_VERSION to use
> the latest version installed.
>
> so rails -v gives Rails 2.3.5
>
> How to fix that kind of problem ? i use mac and my "gem environment" is
>
> RubyGems Environment:
>   - RUBYGEMS VERSION: 1.3.5
>   - RUBY VERSION: 1.8.6 (2008-03-03 patchlevel 114)
> [universal-darwin9.0]
>   - INSTALLATION DIRECTORY: /Library/Ruby/Gems/1.8
>   - RUBY EXECUTABLE:
> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
>   - EXECUTABLE DIRECTORY: /usr/bin
>   - RUBYGEMS PLATFORMS:
>     - ruby
>     - universal-darwin-9
>   - GEM PATHS:
>      - /Library/Ruby/Gems/1.8
>      - /Users/boris/.gem/ruby/1.8
>      -
> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1. 8
>   - GEM CONFIGURATION:
>      - :update_sources => true
>      - :verbose => true
>      - :benchmark => false
>      - :backtrace => false
>      - :bulk_threshold => 1000
>   - REMOTE SOURCES:
>      -http://gems.rubyforge.org/
> --
> Posted viahttp://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.


Reply via email to