Thin start fails with error Message Missing Rails 2.3.8 gem"

Hi,

I have been working on rails 2.3.8 and today update to Rails 3.0. I could not start thin server using

$)thin start

on my earlier projects which have been configured to use Rails 2.3.8

Following is the error message

"Missing the Rails 2.3.8 gem. Please `gem install -v=2.3.8 rails`, update your RAILS_GEM_VERSION setting in config/environment.rb for the Rails version you do ha ve installed, or comment out RAILS_GEM_VERSION to use the latest version installed."

I have already the following definition in config/environment.rb.

Please let me know if this is a known issue or it there is workaround? Can I not run Rails 3.0 and Rails 2.3.8 on my windows machine?

Use rvm for different versions of ruby rails http://rvm.beginrescueend.com

Nihad Abbasov wrote:

Use rvm for different versions of ruby rails http://rvm.beginrescueend.com

On Sep 28, 1:23�am, Narendra Payidiparthi <li...@ruby-forum.com>

As I am using Windows I think I may not be able to use RVM.

Narendra Payidiparthi wrote in post #944483:

Nihad Abbasov wrote:

Use rvm for different versions of ruby rails http://rvm.beginrescueend.com

On Sep 28, 1:23�am, Narendra Payidiparthi <li...@ruby-forum.com>

As I am using Windows I think I may not be able to use RVM.

Narendra,

did you figure out what cause thin to error?

I am running into a very very similar issue, where i get the same error but i am not sure how to tell thin about rails. i do have rails gem installed and i am also trying to run thin in Windows (server 2008).

Regards

Try this:

http://blog.vectorbrook.com/post/940402651/missing-the-rails-2-3-8-gem-with-thin

-Ashwin