2010/1/12 Boris Bob <li...@ruby-forum.com>: > 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
I can't help much not being a mac man, but I believe that this can happen if rails is installed twice in different places. Google for 'missing the rails gem' might help. Colin > > 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 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-t...@googlegroups.com. > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscr...@googlegroups.com. > 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 rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.