[Rails] Re: Installing rails on Ubuntu
On Jan 21, 3:39 pm, Felipe Pieretti Umpierre <li...@ruby-forum.com>
wrote:
> Hello, I'm trying to install the rails on ubuntu 11.10, but when I put
> the command
>
> felipe@Felipe:~/Downloads/rubygems-1.8.15$ sudo gem install rails
> --no-r1 --no-rdoc
> ERROR: Loading command: install (LoadError)
> no such file to load -- zlib
> ERROR: While executing gem ... (NameError)
> uninitialized constant Gem::Commands::InstallCommand
> felipe@Felipe:~/Downloads/rubygems-1.8.15$
>
> it return this error, how can I install correctly.
Have you installed:
apt-get install zlib1g zlib1g-dev
Also - in general, it is not a good idea to install gems using sudo.
> Posted viahttp://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@googlegroups.com.
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.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home