Environment: Rails 2.3.5 app - redmine,our internal project management tool, in our case - running on Ubuntu 10.04.
Requirement: Install a Rails 3 app - our new corp web site in this case. Goodbye, Wordpress, hello home-grown RoR happiness.
Note: this will down your rails 2.3.5 app briefly.
- Make sure your core libs are up to date:
- apt-get install libyaml-ruby
- apt-get install libzlib-ruby
- Update rubygems. Ubuntu won't let you using "gem install rubygems", so do this instead:
- gem install rubygems-update
- rubygems-update
- Install bundler
- gem install bundler
- Install Rails 3. This will take a few minutes.
- gem install rails
- Go to your Rails 3 app directory and run:
- bundle install
- Reload apache (optional)
- /etc/init.d/apache2 reload OR service apache2 reload
- Your old Rails 2 app will now be down and your new Rails 3 app is running. Now we reinstall Rails 2. Bundler lets these coexist peacefully:
- gem install rails -v=2.3.5
- Reload apache.
- /etc/init.d/apache2 reload OR service apache2 reload
Check your work by accessing both of your applications. Voila!
Really its very good post.knowledge sharing is the optimum result of knowledge gaining.
ReplyDeletefootsmart coupons
ReplyDeleteGreat information. Thanx a lot!
Super Duper posting, whenever I come across a blog that really has some excellent unique content I always want to say thank you, there are so many blogs nowadays that are full of copied content.
ReplyDeleteThanks, I’m glad you found it helpful…and I hope your sales force does as well!
ReplyDelete-------
Nancy
Payroll Solutions
I always want to say thank you, there are so many blogs nowadays that are full of copied content.website designers southampton
ReplyDeleteI always want to say thank you, there are so many blogs nowadays that are full of copied content. There are so many blogs nowadays that are full of copied content.
ReplyDeleteseo melbourne
You are saying about interesting things. Thanks you for great post. Sometimes it needs to be smart in investing, planning, so use homeowners insurance company ratings or you may combine another type of auto protection and nationwide auto insurance.
ReplyDeletePretty impressed by the variety of attentiveness on this website. You have a ton of amazing information here. I am sure I will check out this blog another time.
ReplyDeleteWrite My Essay
Your post have the information that is helpful and very informative. I would like you to keep up the good work.
ReplyDeleteBusiness Logo Design
This story is very inspirational for some people & me also. Your blog notes is attractive. So I read always your blog story. Please submit post like this. I am impressed ones again from your blog story
ReplyDeleteDelhi Escorts
Delhi Female Escorts
Thank you for sharing with us. Turn your attention on homeowners insurance companies provided by top home insurers.
ReplyDeleteWell you're right. It IS geeky ;p
ReplyDelete=- try bidet spray
Thanks for the info. Full descriptive info with step by step.
ReplyDeleteGreat post, I enjoyed ready reading it.research paper writing
ReplyDeleteThank you,
ReplyDeleteThe given information is very effective.
I’ll keep updated with it.
Booking India Luxury Trains
Thank you,
ReplyDeleteThe given information is very effective.
I’ll keep updated with it.
Booking India Luxury Trains
Thank you,
ReplyDeleteThe given information is very effective.
I'l keep update with the same.
furniture trader
Thank you,
ReplyDeleteThe given information is very effective.
I'l keep update with the same.
furniture trader