Ruby Freak
2008-Apr-18 03:01 UTC
How to make a 126 rails project when 2.02 is installed with windows
How do I make a 126 rails project when 2.02 is installed? I posted this question and got this answer: You can generate a NEW rails 1.2.6 project like this $rails _1.2.6_ myproject That will probably work on a linix machine, but I couldn''t get it go on XP, at least not for 1.2.3 I finally got it to work. I needed a rails 1.2.3 app so I did this: gem install rails -v=1.2.3 which on my machine, installed in rails 1.2.3 in C:\ruby\lib\ruby\gems\1.8\gems\rails-1.2.3 cd to C:\ruby\lib\ruby\gems\1.8\gems\rails-1.2.3 then rails C:\rails_projects_dir\my_app_name Which created the rails app my_app_name in the directory named C: \rails_projects_dir Good luck --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@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 -~----------~----~----~----~------~----~------~--~---
Ruby Freak
2008-Apr-18 03:49 UTC
Re: How to make a 126 rails project when 2.02 is installed with windows
No, that did''nt work. I got a 2.02 project crap On Apr 17, 8:01 pm, Ruby Freak <twscann...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> How do I make a 126 rails project when 2.02 is installed? > > I posted this question and got this answer: > > You can generate a NEW rails 1.2.6 project like this > $rails _1.2.6_ myproject > > That will probably work on a linix machine, but I couldn''t get it go > on XP, at least not for 1.2.3 > > I finally got it to work. I needed a rails 1.2.3 app so I did this: > > gem install rails -v=1.2.3 > which on my machine, installed in rails 1.2.3 in > C:\ruby\lib\ruby\gems\1.8\gems\rails-1.2.3 > > cd to C:\ruby\lib\ruby\gems\1.8\gems\rails-1.2.3 > then > rails C:\rails_projects_dir\my_app_name > > Which created the rails app my_app_name in the directory named C: > \rails_projects_dir > > Good luck--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@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 -~----------~----~----~----~------~----~------~--~---
Ruby Freak
2008-Apr-18 04:03 UTC
Re: How to make a 126 rails project when 2.02 is installed with windows
OK, I got it just CD to the dir in which you want the project, like normal and run: ruby C:\ruby\lib\ruby\gems\1.8\gems\rails-1.2.3\bin\rails my_project Then rake rails:freeze:edge TAG=rel_1-2-3 viola If I run Rails -v I get 2.0.2 but when I run ruby script/server the page says 123 fun stuff On Apr 17, 8:49 pm, Ruby Freak <twscann...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> No, that did''nt work. > I got a 2.02 project > > crap > > On Apr 17, 8:01 pm, Ruby Freak <twscann...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > How do I make a 126 rails project when 2.02 is installed? > > > I posted this question and got this answer: > > > You can generate a NEW rails 1.2.6 project like this > > $rails _1.2.6_ myproject > > > That will probably work on a linix machine, but I couldn''t get it go > > on XP, at least not for 1.2.3 > > > I finally got it to work. I needed a rails 1.2.3 app so I did this: > > > gem install rails -v=1.2.3 > > which on my machine, installed in rails 1.2.3 in > > C:\ruby\lib\ruby\gems\1.8\gems\rails-1.2.3 > > > cd to C:\ruby\lib\ruby\gems\1.8\gems\rails-1.2.3 > > then > > rails C:\rails_projects_dir\my_app_name > > > Which created the rails app my_app_name in the directory named C: > > \rails_projects_dir > > > Good luck--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@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 -~----------~----~----~----~------~----~------~--~---
Brian Hogan
2008-Apr-18 04:26 UTC
Re: How to make a 126 rails project when 2.02 is installed with windows
Actually it''s way simpler than that. Make sure you have the latest rubygems and that you have rails 1.2.6 gems installed gem update --system gem install rails -v=1.2.6 Then create a new project with Rails 1.2.6 rails _1.2.6_ my_project Then freeze if desired. The _x.y.z_ parameter tells Rubygems which version should be used. On Thu, Apr 17, 2008 at 11:03 PM, Ruby Freak <twscannell-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > OK, I got it > > just CD to the dir in which you want the project, like normal and run: > > ruby C:\ruby\lib\ruby\gems\1.8\gems\rails-1.2.3\bin\rails my_project > > Then > rake rails:freeze:edge TAG=rel_1-2-3 > > viola > > If I run Rails -v I get 2.0.2 but when I run ruby script/server the > page says 123 > > fun stuff > > On Apr 17, 8:49 pm, Ruby Freak <twscann...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > No, that did''nt work. > > I got a 2.02 project > > > > crap > > > > On Apr 17, 8:01 pm, Ruby Freak <twscann...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > How do I make a 126 rails project when 2.02 is installed? > > > > > I posted this question and got this answer: > > > > > You can generate a NEW rails 1.2.6 project like this > > > $rails _1.2.6_ myproject > > > > > That will probably work on a linix machine, but I couldn''t get it go > > > on XP, at least not for 1.2.3 > > > > > I finally got it to work. I needed a rails 1.2.3 app so I did this: > > > > > gem install rails -v=1.2.3 > > > which on my machine, installed in rails 1.2.3 in > > > C:\ruby\lib\ruby\gems\1.8\gems\rails-1.2.3 > > > > > cd to C:\ruby\lib\ruby\gems\1.8\gems\rails-1.2.3 > > > then > > > rails C:\rails_projects_dir\my_app_name > > > > > Which created the rails app my_app_name in the directory named C: > > > \rails_projects_dir > > > > > Good luck > > >--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@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 -~----------~----~----~----~------~----~------~--~---
Ruby Freak
2008-Apr-18 21:29 UTC
Re: How to make a 126 rails project when 2.02 is installed with windows
Thanks but... Not trying to be a jerk however I tried that about 40 times over two hours with every variation imaginable. rails_1.2.3_ my_project rails_1-2-3_ my_project rails_123_ my_project rails_1.2.3 my_project rails TAG=rel_1-2-3 my_project (made a project named "TAG=rel_1-2-3") If you can think of it, I tried it The point of my post was that what you describe doesn''t work. At least not for me, on Windows XP with version 1.2.3 On Apr 17, 9:26 pm, "Brian Hogan" <bpho...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Actually it''s way simpler than that. > > Make sure you have the latest rubygems and that you have rails 1.2.6 gems > installed > gem update --system > gem install rails -v=1.2.6 > > Then create a new project with Rails 1.2.6 > > rails _1.2.6_ my_project > > Then freeze if desired. > > The _x.y.z_ parameter tells Rubygems which version should be used. > > On Thu, Apr 17, 2008 at 11:03 PM, Ruby Freak <twscann...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > OK, I got it > > > just CD to the dir in which you want the project, like normal and run: > > > ruby C:\ruby\lib\ruby\gems\1.8\gems\rails-1.2.3\bin\rails my_project > > > Then > > rake rails:freeze:edge TAG=rel_1-2-3 > > > viola > > > If I run Rails -v I get 2.0.2 but when I run ruby script/server the > > page says 123 > > > fun stuff > > > On Apr 17, 8:49 pm, Ruby Freak <twscann...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > No, that did''nt work. > > > I got a 2.02 project > > > > crap > > > > On Apr 17, 8:01 pm, Ruby Freak <twscann...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > How do I make a 126 rails project when 2.02 is installed? > > > > > I posted this question and got this answer: > > > > > You can generate a NEW rails 1.2.6 project like this > > > > $rails _1.2.6_ myproject > > > > > That will probably work on a linix machine, but I couldn''t get it go > > > > on XP, at least not for 1.2.3 > > > > > I finally got it to work. I needed a rails 1.2.3 app so I did this: > > > > > gem install rails -v=1.2.3 > > > > which on my machine, installed in rails 1.2.3 in > > > > C:\ruby\lib\ruby\gems\1.8\gems\rails-1.2.3 > > > > > cd to C:\ruby\lib\ruby\gems\1.8\gems\rails-1.2.3 > > > > then > > > > rails C:\rails_projects_dir\my_app_name > > > > > Which created the rails app my_app_name in the directory named C: > > > > \rails_projects_dir > > >> > Good luck--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@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 -~----------~----~----~----~------~----~------~--~---
AndyV
2008-Apr-19 01:48 UTC
Re: How to make a 126 rails project when 2.02 is installed with windows
@Rails Freak: I tried it with six versions of the framework installed (2.0.2, 2.0.1, 1.2.6, 1.2.5, 1.2.4, 1.2.2), Ruby 1.8.6, Windows XP. It worked the first time and every time. rails<space><underscore>version<underscore>app_name rails _1.2.2_ test ... test/config/environment.rb # Be sure to restart your web server when you modify this file. # Uncomment below to force Rails into production mode when # you don''t control web/app server and can''t set it the proper way # ENV[''RAILS_ENV''] ||= ''production'' # Specifies gem version of Rails to use when vendor/rails is not present RAILS_GEM_VERSION = ''1.2.2'' unless defined? RAILS_GEM_VERSION ... (Note the GEM_VERSION ^^^ ) On Apr 18, 5:29 pm, Ruby Freak <twscann...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Thanks but... > > Not trying to be a jerk however I tried that about 40 times over two > hours with every variation imaginable. > rails_1.2.3_ my_project > rails_1-2-3_ my_project > rails_123_ my_project > rails_1.2.3 my_project > rails TAG=rel_1-2-3 my_project (made a project named "TAG=rel_1-2-3") > > If you can think of it, I tried it > > The point of my post was that what you describe doesn''t work. At least > not for me, on Windows XP with version 1.2.3 > > On Apr 17, 9:26 pm, "Brian Hogan" <bpho...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > Actually it''s way simpler than that. > > > Make sure you have the latest rubygems and that you have rails 1.2.6 gems > > installed > > gem update --system > > gem install rails -v=1.2.6 > > > Then create a new project with Rails 1.2.6 > > > rails _1.2.6_ my_project > > > Then freeze if desired. > > > The _x.y.z_ parameter tells Rubygems which version should be used. > > > On Thu, Apr 17, 2008 at 11:03 PM, Ruby Freak <twscann...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > OK, I got it > > > > just CD to the dir in which you want the project, like normal and run: > > > > ruby C:\ruby\lib\ruby\gems\1.8\gems\rails-1.2.3\bin\rails my_project > > > > Then > > > rake rails:freeze:edge TAG=rel_1-2-3 > > > > viola > > > > If I run Rails -v I get 2.0.2 but when I run ruby script/server the > > > page says 123 > > > > fun stuff > > > > On Apr 17, 8:49 pm, Ruby Freak <twscann...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > No, that did''nt work. > > > > I got a 2.02 project > > > > > crap > > > > > On Apr 17, 8:01 pm, Ruby Freak <twscann...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > > How do I make a 126 rails project when 2.02 is installed? > > > > > > I posted this question and got this answer: > > > > > > You can generate a NEW rails 1.2.6 project like this > > > > > $rails _1.2.6_ myproject > > > > > > That will probably work on a linix machine, but I couldn''t get it go > > > > > on XP, at least not for 1.2.3 > > > > > > I finally got it to work. I needed a rails 1.2.3 app so I did this: > > > > > > gem install rails -v=1.2.3 > > > > > which on my machine, installed in rails 1.2.3 in > > > > > C:\ruby\lib\ruby\gems\1.8\gems\rails-1.2.3 > > > > > > cd to C:\ruby\lib\ruby\gems\1.8\gems\rails-1.2.3 > > > > > then > > > > > rails C:\rails_projects_dir\my_app_name > > > > > > Which created the rails app my_app_name in the directory named C: > > > > > \rails_projects_dir > > > > Good luck--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@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 -~----------~----~----~----~------~----~------~--~---
AndyV
2008-Apr-19 01:55 UTC
Re: How to make a 126 rails project when 2.02 is installed with windows
Just in case this helps, here''s the contents of your c:\ruby\bin \rails: ---------------------------------------------------------- #!C:/ruby/bin/ruby # # This file was generated by RubyGems. # # The application ''rails'' is installed as part of a gem, and # this file is here to facilitate running it. # require ''rubygems'' version = "> 0" if ARGV.first =~ /^_(.*)_$/ and Gem::Version.correct? $1 then version = $1 ARGV.shift end gem ''rails'', version load ''rails'' ---------------------------------------------------------- Check out the line below: version = "> 0" They''re parsing the first argument and looking for a string beginning and ending with underscores. If it exists then it''s checked to see if it''s a valid Gem version. If that''s true (ie., you have that version of the gem installed) then a rails app of that version is created. On Apr 18, 9:48 pm, AndyV <AndyVana...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> @Rails Freak: I tried it with six versions of the framework installed > (2.0.2, 2.0.1, 1.2.6, 1.2.5, 1.2.4, 1.2.2), Ruby 1.8.6, Windows XP. > It worked the first time and every time. > > rails<space><underscore>version<underscore>app_name > > rails _1.2.2_ test > ... > > test/config/environment.rb > # Be sure to restart your web server when you modify this file. > > # Uncomment below to force Rails into production mode when > # you don''t control web/app server and can''t set it the proper way > # ENV[''RAILS_ENV''] ||= ''production'' > > # Specifies gem version of Rails to use when vendor/rails is not > present > RAILS_GEM_VERSION = ''1.2.2'' unless defined? RAILS_GEM_VERSION > ... > > (Note the GEM_VERSION ^^^ ) > > On Apr 18, 5:29 pm, Ruby Freak <twscann...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > Thanks but... > > > Not trying to be a jerk however I tried that about 40 times over two > > hours with every variation imaginable. > > rails_1.2.3_ my_project > > rails_1-2-3_ my_project > > rails_123_ my_project > > rails_1.2.3 my_project > > rails TAG=rel_1-2-3 my_project (made a project named "TAG=rel_1-2-3") > > > If you can think of it, I tried it > > > The point of my post was that what you describe doesn''t work. At least > > not for me, on Windows XP with version 1.2.3 > > > On Apr 17, 9:26 pm, "Brian Hogan" <bpho...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > Actually it''s way simpler than that. > > > > Make sure you have the latest rubygems and that you have rails 1.2.6 gems > > > installed > > > gem update --system > > > gem install rails -v=1.2.6 > > > > Then create a new project with Rails 1.2.6 > > > > rails _1.2.6_ my_project > > > > Then freeze if desired. > > > > The _x.y.z_ parameter tells Rubygems which version should be used. > > > > On Thu, Apr 17, 2008 at 11:03 PM, Ruby Freak <twscann...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > OK, I got it > > > > > just CD to the dir in which you want the project, like normal and run: > > > > > ruby C:\ruby\lib\ruby\gems\1.8\gems\rails-1.2.3\bin\rails my_project > > > > > Then > > > > rake rails:freeze:edge TAG=rel_1-2-3 > > > > > viola > > > > > If I run Rails -v I get 2.0.2 but when I run ruby script/server the > > > > page says 123 > > > > > fun stuff > > > > > On Apr 17, 8:49 pm, Ruby Freak <twscann...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > No, that did''nt work. > > > > > I got a 2.02 project > > > > > > crap > > > > > > On Apr 17, 8:01 pm, Ruby Freak <twscann...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > > > How do I make a 126 rails project when 2.02 is installed? > > > > > > > I posted this question and got this answer: > > > > > > > You can generate a NEW rails 1.2.6 project like this > > > > > > $rails _1.2.6_ myproject > > > > > > > That will probably work on a linix machine, but I couldn''t get it go > > > > > > on XP, at least not for 1.2.3 > > > > > > > I finally got it to work. I needed a rails 1.2.3 app so I did this: > > > > > > > gem install rails -v=1.2.3 > > > > > > which on my machine, installed in rails 1.2.3 in > > > > > > C:\ruby\lib\ruby\gems\1.8\gems\rails-1.2.3 > > > > > > > cd to C:\ruby\lib\ruby\gems\1.8\gems\rails-1.2.3 > > > > > > then > > > > > > rails C:\rails_projects_dir\my_app_name > > > > > > > Which created the rails app my_app_name in the directory named C: > > > > > > \rails_projects_dir > > > > > Good luck--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@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 -~----------~----~----~----~------~----~------~--~---
Ruby Freak
2008-Apr-19 02:45 UTC
Re: How to make a 126 rails project when 2.02 is installed with windows
AndyV Sure as hell, It worked as you say I was missing the space between rails and _1.2.3._ My face is red now On Apr 18, 6:55 pm, AndyV <AndyVana...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Just in case this helps, here''s the contents of your c:\ruby\bin > \rails: > > ---------------------------------------------------------- > #!C:/ruby/bin/ruby > # > # This file was generated by RubyGems. > # > # The application ''rails'' is installed as part of a gem, and > # this file is here to facilitate running it. > # > > require ''rubygems'' > version = "> 0" > if ARGV.first =~ /^_(.*)_$/ and Gem::Version.correct? $1 then > version = $1 > ARGV.shift > end > gem ''rails'', version > load ''rails'' > ---------------------------------------------------------- > > Check out the line below: version = "> 0" > They''re parsing the first argument and looking for a string beginning > and ending with underscores. If it exists then it''s checked to see if > it''s a valid Gem version. If that''s true (ie., you have that version > of the gem installed) then a rails app of that version is created. > > On Apr 18, 9:48 pm, AndyV <AndyVana...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > @Rails Freak: I tried it with six versions of the framework installed > > (2.0.2, 2.0.1, 1.2.6, 1.2.5, 1.2.4, 1.2.2), Ruby 1.8.6, Windows XP. > > It worked the first time and every time. > > > rails<space><underscore>version<underscore>app_name > > > rails _1.2.2_ test > > ... > > > test/config/environment.rb > > # Be sure to restart your web server when you modify this file. > > > # Uncomment below to force Rails into production mode when > > # you don''t control web/app server and can''t set it the proper way > > # ENV[''RAILS_ENV''] ||= ''production'' > > > # Specifies gem version of Rails to use when vendor/rails is not > > present > > RAILS_GEM_VERSION = ''1.2.2'' unless defined? RAILS_GEM_VERSION > > ... > > > (Note the GEM_VERSION ^^^ ) > > > On Apr 18, 5:29 pm, Ruby Freak <twscann...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > Thanks but... > > > > Not trying to be a jerk however I tried that about 40 times over two > > > hours with every variation imaginable. > > > rails_1.2.3_ my_project > > > rails_1-2-3_ my_project > > > rails_123_ my_project > > > rails_1.2.3 my_project > > > rails TAG=rel_1-2-3 my_project (made a project named "TAG=rel_1-2-3") > > > > If you can think of it, I tried it > > > > The point of my post was that what you describe doesn''t work. At least > > > not for me, on Windows XP with version 1.2.3 > > > > On Apr 17, 9:26 pm, "Brian Hogan" <bpho...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > Actually it''s way simpler than that. > > > > > Make sure you have the latest rubygems and that you have rails 1.2.6 gems > > > > installed > > > > gem update --system > > > > gem install rails -v=1.2.6 > > > > > Then create a new project with Rails 1.2.6 > > > > > rails _1.2.6_ my_project > > > > > Then freeze if desired. > > > > > The _x.y.z_ parameter tells Rubygems which version should be used. > > > > > On Thu, Apr 17, 2008 at 11:03 PM, Ruby Freak <twscann...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > > OK, I got it > > > > > > just CD to the dir in which you want the project, like normal and run: > > > > > > ruby C:\ruby\lib\ruby\gems\1.8\gems\rails-1.2.3\bin\rails my_project > > > > > > Then > > > > > rake rails:freeze:edge TAG=rel_1-2-3 > > > > > > viola > > > > > > If I run Rails -v I get 2.0.2 but when I run ruby script/server the > > > > > page says 123 > > > > > > fun stuff > > > > > > On Apr 17, 8:49 pm, Ruby Freak <twscann...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > > No, that did''nt work. > > > > > > I got a 2.02 project > > > > > > > crap > > > > > > > On Apr 17, 8:01 pm, Ruby Freak <twscann...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > > > > How do I make a 126 rails project when 2.02 is installed? > > > > > > > > I posted this question and got this answer: > > > > > > > > You can generate a NEW rails 1.2.6 project like this > > > > > > > $rails _1.2.6_ myproject > > > > > > > > That will probably work on a linix machine, but I couldn''t get it go > > > > > > > on XP, at least not for 1.2.3 > > > > > > > > I finally got it to work. I needed a rails 1.2.3 app so I did this: > > > > > > > > gem install rails -v=1.2.3 > > > > > > > which on my machine, installed in rails 1.2.3 in > > > > > > > C:\ruby\lib\ruby\gems\1.8\gems\rails-1.2.3 > > > > > > > > cd to C:\ruby\lib\ruby\gems\1.8\gems\rails-1.2.3 > > > > > > > then > > > > > > > rails C:\rails_projects_dir\my_app_name > > > > > > > > Which created the rails app my_app_name in the directory named C: > > > > > > > \rails_projects_dir > > > > > > Good luck--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@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 -~----------~----~----~----~------~----~------~--~---