I am running a Ruby on Rails site in a shared hosting environment on Dreamhost (using Passenger), and recently they upgraded from Rails 2.3.x to Rails 3. It looks like this broke the site. Here is the URL: http://www.mycondonetwork.com You can see the Passenger error I''m getting. My ideal situation would be to somehow freeze Rails to use 2.3.3 (last known version that worked... I don''t monitor this site that often). I would rather not upgrade the site to use Rails 3 (unless it''s easy). Any help would be appreciated. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Brian Wolk wrote in post #970105:> I am running a Ruby on Rails site in a shared hosting environment on > Dreamhost (using Passenger), and recently they upgraded from Rails 2.3.x > to Rails 3. It looks like this broke the site. > > Here is the URL: > http://www.mycondonetwork.com > > You can see the Passenger error I''m getting. > > My ideal situation would be to somehow freeze Rails to use 2.3.3 (last > known version that worked... I don''t monitor this site that often).So do that! What''s stopping you?> > I would rather not upgrade the site to use Rails 3 (unless it''s easy).You probably should upgrade eventually.> > Any help would be appreciated.Best, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
I guess what I''m asking is how do I freeze the Rails version to 2.3.3 (actually make that 2.3.5)? I''ve already followed the steps here: http://wiki.rubyonrails.org/getting-started/upgrading ..and gem installed 2.3.5, and then modified environment.rb, setting RAILS_GEM_VERSION = ''2.3.5''. Then I ran rake:rails update but it didn''t seem to do anything, and I''m still getting the same error as before. Did I miss something? -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Please quote when replying. Brian Wolk wrote in post #970115:> I guess what I''m asking is how do I freeze the Rails version to 2.3.3 > (actually make that 2.3.5)?Do you want to? My understanding is that for security reasons, you should probably be using 2.3.10.> > I''ve already followed the steps here: > http://wiki.rubyonrails.org/getting-started/upgrading > > ..and gem installed 2.3.5, and then modified environment.rb, setting > RAILS_GEM_VERSION = ''2.3.5''.Right. That will select Rails 2.3.5 if it''s installed on the host. It will not magically run 2.3.5 if Dreamhost removed it (which I don''t know).> > Then I ran rake:rails update but it didn''t seem to do anything, and I''m > still getting the same error as before.Well, the error looks like it''s coming from an improper installation of ActiveSupport.> > Did I miss something?You missed the actual freezing of the Rails gems into your project. There''s a Rake task for that. Best, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Dec 22, 2010, at 3:27 PM, Brian Wolk wrote:> I guess what I''m asking is how do I freeze the Rails version to 2.3.3 > (actually make that 2.3.5)?Try this (found on Google): rake rails:freeze:edge RELEASE=2.3.5 Walter -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 22 December 2010 19:40, Brian Wolk <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> I am running a Ruby on Rails site in a shared hosting environment on > Dreamhost (using Passenger), and recently they upgraded from Rails 2.3.x > to Rails 3. It looks like this broke the site. > > Here is the URL: > http://www.mycondonetwork.com > > You can see the Passenger error I''m getting. > > My ideal situation would be to somehow freeze Rails to use 2.3.3 (last > known version that worked... I don''t monitor this site that often).Check whether they have also upgraded ruby to 1.9. If you have not got 1.8.7 available then I think you will not be able to run rails 2.3. Unless others can correct me... Colin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Colin Law wrote in post #970123:> On 22 December 2010 19:40, Brian Wolk <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote: >> known version that worked... I don''t monitor this site that often). > Check whether they have also upgraded ruby to 1.9. If you have not > got 1.8.7 available then I think you will not be able to run rails > 2.3. Unless others can correct me...Rails 2.3 works with Ruby 1.9. Certain gems may not, though.> > ColinBest, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 22 December 2010 21:03, Marnen Laibow-Koser <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Colin Law wrote in post #970123: >> On 22 December 2010 19:40, Brian Wolk <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote: >>> known version that worked... I don''t monitor this site that often). >> Check whether they have also upgraded ruby to 1.9. If you have not >> got 1.8.7 available then I think you will not be able to run rails >> 2.3. Unless others can correct me... > > Rails 2.3 works with Ruby 1.9. Certain gems may not, though.Well I am surprised, I certainly had it in my head that rails 2.3.x was not happy with ruby 1.9.2. After some googling however I have to admit that I cannot find any evidence to back that up so I stand corrected. Maybe I was confused by issues around 1.9.1 and rails. Sorry for the noise. Colin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Thanks for the replies, everyone. I tried what Water suggested: $ rake rails:freeze:edge RELEASE=2.3.5 ..and I get this: (in /home/<username>/website) cd vendor Downloading Rails from http://dev.rubyonrails.org/archives/rails_2.3.5.zip rake aborted! Connection reset by peer If I manually navigate to that URL, I see that it no longer exists (even dev.rubyonrails.org is no longer available). Does anyone know off hand if this domain been moved to another url? If so, can I update a domain variable somewhere to point to the new url? -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
I believe rake is just driving gem at that point, so you might want to try the extended gem syntax for installing a particular version of a particular gem from a particular server. (man gem in a terminal for the entire syntax) See if there''s a copy on github''s gem server, or rubyforge, or one of the other best-guess places. Walter On Dec 22, 2010, at 5:18 PM, Brian Wolk wrote:> Thanks for the replies, everyone. > > I tried what Water suggested: > > $ rake rails:freeze:edge RELEASE=2.3.5 > > ..and I get this: > > (in /home/<username>/website) > cd vendor > Downloading Rails from > http://dev.rubyonrails.org/archives/rails_2.3.5.zip > rake aborted! > Connection reset by peer > > > If I manually navigate to that URL, I see that it no longer exists > (even > dev.rubyonrails.org is no longer available). > > Does anyone know off hand if this domain been moved to another url? If > so, can I update a domain variable somewhere to point to the new url? > > -- > Posted via http://www.ruby-forum.com/. > > -- > You received this message because you are subscribed to the Google > Groups "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails- > talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > . > For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en > . >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 22 December 2010 22:18, Brian Wolk <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Thanks for the replies, everyone. > > I tried what Water suggested: > > $ rake rails:freeze:edge RELEASE=2.3.5I don''t think you want the edge. If you want to freeze to the version of rails that the app is currently using then just rake rails:freeze:gems should do it I think. Colin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.