To install the ruby-on rails on my computer i used the following commands in
terminal
1)sudo apt-get install build-essentail (completed successfully)
2)sudo apt-get install ruby-full (completed successfully)
3)Download the rubygems-1.3.7.tgz in download directory and the
cd Downloads
sudo tar -xvzf rubygems-1.3.7.tgz
cd rubygems-1.3.7
ruby setup.rb
(completed successfully)
4) Then change directory as
cd /usr/bin
Then typed
sudo gem install rails --version 2.3.2
--include-dependencies
After this command ,i got the
following error
amrit@amrit-desktop:~$ cd /usr/bin
amrit@amrit-desktop:/usr/bin$ sudo gem install rails
--version 2.3.2 --include-dependencies;
[sudo] password for amrit:
ERROR: Loading command: install (LoadError)
no such file to load -- zlib
ERROR: While executing gem ... (NameError)
uninitialized constant Gem::Commands::InstallCommand
amrit@amrit-desktop:/usr/bin$
Please somebody help to resolve it
Thanks in advance
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Core" group.
To post to this group, send email to rubyonrails-core@googlegroups.com.
To unsubscribe from this group, send email to
rubyonrails-core+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-core?hl=en.
On Fri, Oct 22, 2010 at 05:40:14AM -0200, amritpal pathak wrote:> To install the ruby-on rails on my computer i used the following commands in > terminal > > 1)sudo apt-get install build-essentail (completed successfully) > > 2)sudo apt-get install ruby-full (completed successfully) > > 3)Download the rubygems-1.3.7.tgz in download directory and the > > cd Downloads > sudo tar -xvzf rubygems-1.3.7.tgz > cd rubygems-1.3.7 > ruby setup.rb > (completed successfully) > > 4) Then change directory as > cd /usr/bin > Then typed > > sudo gem install rails --version 2.3.2 > --include-dependencies > > After this command ,i got the > following error > > > amrit@amrit-desktop:~$ cd /usr/bin > amrit@amrit-desktop:/usr/bin$ sudo gem install rails > --version 2.3.2 --include-dependencies; > [sudo] password for amrit: > ERROR: Loading command: install (LoadError) > no such file to load -- zlib > ERROR: While executing gem ... (NameError) > uninitialized constant Gem::Commands::InstallCommand > amrit@amrit-desktop:/usr/bin$ > > > Please somebody help to resolve itIt looks like a problem with your ruby installation. Specifically you Ruby has been built without zlib. I suggest you email ruby-talk: http://www.ruby-lang.org/en/community/mailing-lists/ Make sure to include the system type you''re using. You may also want to try the support forums for the OS you''re using. Either way, this is outside the scope of the rails-core list. Thanks. -- Aaron Patterson http://tenderlovemaking.com/