Rails project Version Change
prashant guidance
01 : extract application
02: kis ruby ke kis version par hai
03: migration covert karni padhti hain
04:
rinku guidance
1. extract
1. project setup
2. bundle chalao bundle par error ayegi ,dependencies lagi hogi toh unko hatana padhega pehle
3. database create karna and chala ke dekhna us hisab se
4. gemfile mein jana aur version change karna unko aur bundle chalaoge toh dependencies chalegi nai unki versions ki toh pehle old file ko save karke rakh lena kaheen par aur baki ke bundle hata hata kar dekhna unke ki kisemin error aa rahi hai..kismein nai aa rahi hai woh check karne padhenge tumhe saare
5. bundle chal jaye toh database create karna usmein bhi dikkat ayegi thodi bahut usko bhi fauran solve karna padhega
6. migrate bhi karna padega
7. pehle bundle hi nai chalega usimein dikkat ayegi...
8. gorails par dekh lena go rails par sab hai...
..........................................................................
my doc:
1 extract
2 run bundle ,error will come at bundle ,will remove dependences first
3 create the database according to that run
4 go in gemfile and change the version and run the bundle,when run the bundle then dependices of that versions will not run then first save the old file at anywhere then remove the other bundles that in which bundle there is error and where there is not error , then you will check all that
5 when bundle is successfully run then create the database and you will also have error in that and solve that frequently.
6 also migrate.
7 first bundle will not run then have problem in that.
8 check the gorails everything is at gorails.
old
ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-linux]
rails - Rails 3.2.14 : we get it after bundle
we want
Upgrade it with ruby 3.0.1 and rails 6.1.3.1.
note : prashant guidance.......agar 5 to 5 ya 2 to ya 3 to 3 version change karna hai toh direct kar sakte ho lekin agar 3 to 6 change karna hai toh fir iske liye ek new application banakar kam karna hoga...
sabse pehle project ko chalao aur fir project ko upgrade karo usko...
do taraf chalakar rakhna hi padhta hai...
Comments
Post a Comment