In my env I require 3.0.3
but when I script/server
I get this: can't activate rails (= 2.3.8, runtime) for [], already activated rails-3.0.3
I don’t want it to activate 2.3.8.. =\
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Rails 3.x doesn’t use
script/serveranymore – you should run your server withrails serverorrails s. You can delete all the files fromscript, except forscript\rails.Plus, you no longer specify your Rails version in environment.rb (if that’s what you mean by “env”). All gems and their versions are specified in your
Gemfile.Did you follow a guide like Upgrading to Rails 3? It’s not enough to just change the Rails version in
evironment.rb.