Pedro Visintin
2006-Apr-14 05:02 UTC
[Rails] Rails 1.1.2 is working on shared hosting that has rails 1.0
After many hours I got working It is in spanish but you can copy paste the code. http://wiki.onrails.com.ar/onrailscomarwiki/show/Instalacion+de+Rails+y+Gems+en+un+hosting+compartido P http://wiki.onrails.com.ar -- Posted via http://www.ruby-forum.com/.
Shane Sherman
2006-Apr-14 16:07 UTC
[Rails] Rails 1.1.2 is working on shared hosting that has rails 1.0
Interesting. Thanks for this. I don''t really understand why you had to mess with the RAILS_GEM_VERSION though. On 4/14/06, Pedro Visintin <pedro.visintin@gmail.com> wrote:> > After many hours I got working > > It is in spanish but you can copy paste the code. > > > http://wiki.onrails.com.ar/onrailscomarwiki/show/Instalacion+de+Rails+y+Gems+en+un+hosting+compartido > > P > > http://wiki.onrails.com.ar > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060414/0a8d16c6/attachment-0001.html
Pedro Visintin
2006-Apr-14 16:19 UTC
[Rails] Re: Rails 1.1.2 is working on shared hosting that has rails
Shane Sherman wrote:> Interesting. Thanks for this. I don''t really understand why you had to > mess > with the RAILS_GEM_VERSION though.This trick apply to people who has: * shared hosting * rails 1.0 or 1.1.1 and wants to use gem rails 1.1.2 on your custom gem directory Your environment.rb generated with rails 1.1.2 has a line with # Specifies gem version of Rails to use when vendor/rails is not present #RAILS_GEM_VERSION = ''1.1.2'' When you dont want to freeze your rails 1.1.2 and want use the gem rails 1.1.2 you have to specify this in your environment.rb But in shared hostings the gem environment differs from you home gem environment thats the trick. So you have to specify gem paths hacking your boot.rb Sorry english is not my native language. P http://wiki.onrails.com.ar -- Posted via http://www.ruby-forum.com/.