the_guru
2008-Dec-20 09:37 UTC
Locally Update InstantRails-2.0-win to support rails 2.2.2.
Locally Update InstantRails-2.0-win to support rails 2.2.2. Before everything I want point something that all the blogs and forums shows how to install rails from remote server. But this is boring for people on the slow side of the internet. Rails is a gem (meaning this is a package) so we can install rails locally from the gem. But we need all the gems to install it locally. For ur convenience u can download the rails-2.2.2. zip from http://rubyonrails.org. Inside the zip u will find {vendor/rails/*/pkg} directory here u will get all the gems u need.(* means railties,activesupport,activerecord etc.) Step 1. Setting the environment variable in win XP Set a path of /ruby/bin {installed driver}/{ InstantRails-2.0-win” } /ruby/bin Step 2. Installing ruby gem 1.3.1 Extract “rubygems-1.3.1.zip “ Go to the extracted directory from command line Run : ruby install.rb This will install the ruby gem 1.3.1 Check the version with run : gem -v To be sured u can run command: gem update –system Step 3. Installing rake 0.8.3 To install rails-2.2.2 u will need rake 0.8.3 I couldn’t find the gem of rake 0.8.3 I installed it from internet Run : gem install rake –include-dependencies This update rake Step 4. Installing rails 2.2.2 Put all the gems in the {your path}/ruby/bin/ directory All most done Run command : gem install rails –include-dependencies –l The last –l parameter forces the gems to be installed from local directory The command will auto install actionmailer,activerecord ….. Check the version with run : rails –v Step 5. Seeing what is installed U can see all the gem that are installed in ur system . Run : gem list Warring!!! do not run : gem cleanup This cleanup is not necessary Problems you may face: I face a mysql a problem of : missing libmySQL.dll error This was very annoying. Goto {your path}/mysql/bin/ libmySQL.dll paste it to {your path}/ruby/bin/ I guess this will solve the problem. This is my first real problem solve post . hope u liked it . --~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Ken Wagner
2008-Dec-20 21:33 UTC
Re: Locally Update InstantRails-2.0-win to support rails 2.2
the_guru wrote:> Locally Update InstantRails-2.0-win to support rails 2.2.2. > Before everything I want point something that all the blogs and forums > shows how to install rails from remote server. But this is > > boring for people on the slow side of the internet. Rails is a gem > (meaning this is a package) so we can install rails locally from > > the gem. But we need all the gems to install it locally. > > ... > > > Problems you may face: > I face a mysql a problem of : missing libmySQL.dll error > This was very annoying. Goto > {your path}/mysql/bin/ > libmySQL.dll > paste it to > {your path}/ruby/bin/ > I guess this will solve the problem. > > This is my first real problem solve post . hope u liked it .Hey! Guru! I found the same things. Now it''s all working well. Wondered if I did it right. Excellent problem solve. Nice going. Ken -- 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-/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 -~----------~----~----~----~------~----~------~--~---
RichardOnRails
2008-Dec-20 22:38 UTC
Re: Locally Update InstantRails-2.0-win to support rails 2.2.2.
Nice going, Guru. I''ll pass on a reference of this to people needing help. Best wishes, Richard On Dec 20, 4:37 am, the_guru <l.rajibah...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Locally Update InstantRails-2.0-win to support rails 2.2.2. > Before everything I want point something that all the blogs and forums > shows how to install rails from remote server. But this is > > boring for people on the slow side of the internet. Rails is a gem > (meaning this is a package) so we can install rails locally from > > the gem. But we need all the gems to install it locally. > > For ur convenience u can download the rails-2.2.2. zip fromhttp://rubyonrails.org. Inside the zip u will find > > {vendor/rails/*/pkg} directory here u will get all the gems u need.(* > means railties,activesupport,activerecord etc.) > > Step 1. Setting the environment variable in win XP > Set a path of /ruby/bin > {installed driver}/{ InstantRails-2.0-win" } /ruby/bin > > Step 2. Installing ruby gem 1.3.1 > Extract "rubygems-1.3.1.zip " > Go to the extracted directory from command line > Run : > ruby install.rb > This will install the ruby gem 1.3.1 > Check the version with run : > gem -v > To be sured u can run command: gem update -system > > Step 3. Installing rake 0.8.3 > To install rails-2.2.2 u will need rake 0.8.3 > I couldn''t find the gem of rake 0.8.3 > I installed it from internet > Run : > gem install rake -include-dependencies > This update rake > > Step 4. Installing rails 2.2.2 > Put all the gems in the {your path}/ruby/bin/ directory > All most done > Run command : > gem install rails -include-dependencies -l > The last -l parameter forces the gems to be installed from local > directory > The command will auto install actionmailer,activerecord ..... > Check the version with run : > rails -v > > Step 5. Seeing what is installed > U can see all the gem that are installed in ur system . > Run : > gem list > Warring!!! do not run : > gem cleanup > This cleanup is not necessary > > Problems you may face: > I face a mysql a problem of : missing libmySQL.dll error > This was very annoying. Goto > {your path}/mysql/bin/ > libmySQL.dll > paste it to > {your path}/ruby/bin/ > I guess this will solve the problem. > > This is my first real problem solve post . hope u liked it .--~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
the_guru
2008-Dec-26 21:43 UTC
Re: Locally Update InstantRails-2.0-win to support rails 2.2.2.
thanks for the encouragement !!! :) It means lot to a newbie ...... like me --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---