Cannot upgrade rails to 1.1, only 1.0. Nubee. Please help


#1

I’ve used putty to SSH in to our solaris system as root:
Here is what happens when i try to install rails:

gem install rails -include-dependencies -p http://saiproxy:3128

Attempting local installation of ‘rails’
Local gem file not found: rails*.gem
Attempting remote installation of ‘rails’
Successfully installed rails-1.0.0

So my question is why won’t it go to rails1.1?? I need it for the rails
1.1 app i have been developing on my local machine.

Any help would be appreciated,

Thanks,
Chris


#2

Chris wrote:

1.1 app i have been developing on my local machine.
Assuming you’ve tried without the proxy and with the version:

gem install rails --version >= 1.1 --include-dependencies

or know for certain that the proxy is necessary for you, I’d download
the gems and install them locally.

Here’s at least a start on that:

Down load the rails gem from http://tinyurl.com/hn6dh and then

gem install rails-1.1.0.gem

The problem with this is that you’ll have to also download the
dependencies.

gem dependency rails

Will give you a list of what you need, although if it does, I don’t know
why you wouldn’t be getting the correct version. So here is the list I
see:

Gem rails-1.1.0
Requires
rake (>= 0.7.0)
activesupport (= 1.3.0)
activerecord (= 1.14.0)
actionpack (= 1.12.0)
actionmailer (= 1.2.0)
actionwebservice (= 1.1.0)

Ray


#3

Thanks for that Ray,

do you know where i can download the dependent gems from?
I need it to install rails-1.1.0.gem

Thanks,
Chris


#4

Chris wrote:

do you know where i can download the dependent gems from?
I need it to install rails-1.1.0.gem

Everything is at rubyforge.org

Ray


#5

Chris wrote:

Thanks for that Ray,

do you know where i can download the dependent gems from?
I need it to install rails-1.1.0.gem

Thanks,
Chris

If you use ‘–include-dependencies’, the dependent gems should
automatically get downloaded and installed for you.