This might sound silly, but I google won't answer this one for me.
I have Ruby 1.9.3 installed, with rails 3.2.1
I checked my servers paths for ruby on rails, and they have ruby 1.8.7, and rails 3.2.3
Does this mean when I start coding that I need to make sure the versions match?
Do I need to downgrade in order for my application to work?
I haven't tested it out yet, but I figured i'd save myself some frustration if it's an easy question to answer.
Thanks a lot (:
2 Replies - 836 Views - Last Post: 23 June 2012 - 05:29 AM
#1
Server has a language version different than my own?
Posted 22 June 2012 - 08:29 AM
Replies To: Server has a language version different than my own?
#2
Re: Server has a language version different than my own?
Posted 22 June 2012 - 02:38 PM
It's extremely important to make sure your versions match between your Dev environment and your Prod environment (and any other environments, such as Staging/Test/UAT). You've got a couple of options:
It's not so bad to develop on an environment that predates Prod, but if you're developing on say 5.8 and you're deploying to 5.2, then you can run into problems, as functions may not even exist. Even obselete functions are usually supported for several versions in the future, and deprecated functions usually hang around until the next major release.
Hope this helps.
- Downgrade your Dev environment to match Prod. Could be easy, since you have full control over Dev, but also may involve uninstalling and reinstalling, as downgrading may not be available.
- Upgrade your Prod environment. Could mean moving to a Managed VPS or Dedicated Hosting, which could be beyond the expense you want to go to.
- Move to a host that has alterable versions of the software you use.
It's not so bad to develop on an environment that predates Prod, but if you're developing on say 5.8 and you're deploying to 5.2, then you can run into problems, as functions may not even exist. Even obselete functions are usually supported for several versions in the future, and deprecated functions usually hang around until the next major release.
Hope this helps.
#3
Re: Server has a language version different than my own?
Posted 23 June 2012 - 05:29 AM
Thanks a lot for the reply. I feared that would be the case.
Looks like i'll be downgrading. I'm not going to dish out the cash for a VPS or DS before my project even has a line of my own code.
Just when I got everything working too!
Thanks again.
Looks like i'll be downgrading. I'm not going to dish out the cash for a VPS or DS before my project even has a line of my own code.
Just when I got everything working too!
Thanks again.
Page 1 of 1
|
|

New Topic/Question
Reply


MultiQuote



|