Which version of Rails works with Ruby 1.8.5 - ruby-on-rails

I have a web server that hosts Ruby version 1.8.5. Which version of Rails is compatible with that version of Ruby? On the Rails site, it says that the pre-requisite for running Rails 3.0 is Ruby 1.8.7. Does Rails 3.0 work at all with versions prior to 1.8.7?
Any help appreciated.

From their site:
We recommend Ruby 1.8.7 or Ruby 1.9.2 for use with Rails. Ruby 1.8.6 and earlier are not supported, neither is version 1.9.1.
Which means, sure, you can use it. But you're on your own if it doesn't work correctly.

Related

Update rails from 4.2 to 5.0 on windows

I just installed rails using the awesome rails installer for windows. Unfortunately there is not yet the option available to use the installer for Rails 5, what is the easiest way to upgrade on Windows? I currently have ruby version 2.2.4 and rails 4.2
Check this tutorial:
http://blog.teamtreehouse.com/installing-rails-5-windows
No need to update ruby, because 2.2.2+ versions support new Rails.
Actually you have to run
gem install rails --version 5.0.0

railsinstaller for windows 7 with ruby > 1.9.3

is it possible to install rails on windows 7 (64bit) with ruby version higher than 1.9.3?
Rails installer seems to be a little bit out-dated, it comes with ruby 1.9.3-p125.
Version 2.2.2 was recently released with a higher patch level of 1.9.3. Additionally, you can grab the prerelease of RailsInstaller 3.0.0 with Ruby 2.0.0 from Github.
Evan

Is is possible to update ruby to version ruby 1.9.3 with rails 2.3 project (existing code)

Is it possible to update ruby to version ruby 1.9.2 with rails 2.3.11 project (existing code).
Yes you can do that because Rails 2.3.11 can support ruby 1.9.2. But can be hard to do. Rails 3.x is more focus on ruby 1.9.x. The Rails 4.x can only support ruby >= 1.9.2

How can i use pik in win7?

I am using windows for rails.I installed pik for maintaining different versions of ruby.
But is there any possibility to create gemsets in PIK as in RVM?If not then how can i install different versions of rails?
Please help me..Thanks in advance!!!
Pik saved my life. I've been using rails 2.3.8 at work. I wanted to try the new rails 3.1 for my personal use. They told me to install RailsInstaller. But that screwed up all my rails 2.3.8 settings. So here's what I did.
I went to rubyinstaller. Downloaded installer for versions Ruby 1.8.7-p302 and Ruby 1.9.2-p290 installed them.
I installed both versions of ruby
then i installed the gem pik (see https://github.com/vertiginous/pik)
Now, I can switch between Ruby 1.8.7 and 1.9.2 using pik easily
pik 187 (switches to ruby 1.8.7)
So, I switched to ruby 1.8.7. and then installed rails 2.3.8
gem install rails -v 2.3.8
then i said pik 192 which switched the ruby to 1.9.2. Then i said
gem install rails -v 3.1.0
Now to use rails 2.3.8 all I have to do is say pik 187. Not only it switches ruby to 1.8.7 it also switches rails to 2.3.8
I am not a Ruby or Rails expert. But the key to remember is that you need to have the right Ruby version selected while installing rails. Meaning, if you're installing rails 3.1.0 make sure your current ruby version is 1.9.2 or higher or whatever version rails 3 works on. Similarly if you want to install rails 2.3.8 make sure your current ruby version is 1.8.7
Hope this helps. And people won't lose sleep because of this, like i did.
As far as I know, pik doesn't have this feature (yet).
As PIK is no longer maintained, see this commit comment. I would suggest to checkout URU to have version support in Windows (also supports linux and OSX)

Is Cucumber broken under Ruby 1.9.1 and Rails 2.3.2?

I'm installing Ruby 1.9 and Rails 2.3 in Ubuntu 9.04. I want to learn about Cucumber. Is Cucumber broken under Ruby 1.9.1 and Rails 2.3.2?
Is it ruby 1.9 says that it works just fine.
http://isitruby19.com/cucumber

Resources