Create new Rails project with previews rails version

Posted by Denis on Stack Overflow See other posts from Stack Overflow or by Denis
Published on 2010-03-14T16:19:09Z Indexed on 2010/03/14 16:25 UTC
Read the original article Hit count: 679

Hello,

The latest version of rails installed on my mac is 3.0.0.beta

gem list returns rails (3.0.0.beta, 2.3.5, 2.3.4, 2.3.2, 2.2.2, 1.2.6)

I want to create a new project using version 2.3.5

So I run: rails _2.3.5_ myProject

But it returns the following error

$ rails _2.3.5_ photosbackup
/Library/Ruby/Site/1.8/rubygems.rb:777:in `report_activate_error': RubyGem version error: railties(3.0.0.beta not = 2.3.5) (Gem::LoadError)
    from /Library/Ruby/Site/1.8/rubygems.rb:211:in `activate'
    from /Library/Ruby/Site/1.8/rubygems.rb:1056:in `gem'
    from /usr/bin/rails:18

Any idea how I can create a new project using version 2.3.5?

Thanks

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about ruby-on-rails3