The error message refer version 1.9.1
I suggest install version 1.9.2 using rvm.
Raul
El 28/12/2011 02:33 p.m., Francesca Krihely escribió:
> Try using Sudo
>
> Also, Xcode could be out of date re: this problem
> (http://railsforum.com/viewtopic.php?id=22116)
>
>
>
> On Wed, Dec 28, 2011 at 11:22 AM, Krishna P. <lists@ruby-forum.com
> <mailto:lists@ruby-forum.com>> wrote:
>
> Hello all,
> I am stuck and I need your help. I tried to install rails and got the
> mkmf error. I installed ruby1.8-dev and I am still getting the same
> error.
>
> Rails install error:
> --------------------
> root@localhost:~# gem install rails
> Building native extensions. This could take a while...
> ERROR: Error installing rails:
> ERROR: Failed to build gem native extension.
>
> /usr/bin/ruby1.9.1 extconf.rb
> <internal:lib/rubygems/custom_require>:29:in `require': no such file to
> load -- mkmf (LoadError)
> from <internal:lib/rubygems/custom_require>:29:in `require'
> from extconf.rb:1:in `<main>'
>
>
> Gem files will remain installed in /var/lib/gems/1.9.1/gems/json-1.6.4
> for inspection.
> Results logged to
> /var/lib/gems/1.9.1/gems/json-1.6.4/ext/json/ext/parser/gem_make.out
>
>
>
> Proof of ruby1.8-dev installation
> ----------------------------------
> root@localhost:~# apt-get install ruby1.8-dev
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> ruby1.8-dev is already the newest version.
> The following packages were automatically installed and are no longer
> required:
> libactionmailer-ruby1.8 linux-headers-2.6.35-25-server
> libcmdparse2-ruby1.8
> libtext-format-ruby1.8 libtmail-ruby1.8 libmocha-ruby1.8
> libactivesupport-ruby1.8 libredcloth-ruby1.8 libjs-prototype
> libmemcache-client-ruby1.8 linux-headers-2.6.35-22-server
> libactionpack-ruby1.8 libactiveresource-ruby1.8 libsqlite3-ruby1.8
> liblog4r-ruby1.8 libbuilder-ruby1.8 libncurses-ruby1.8
> linux-headers-2.6.35-23-server librack-ruby libtzinfo-ruby1.8
> linux-headers-2.6.35-22 linux-headers-2.6.35-23
> linux-headers-2.6.35-24
> linux-headers-2.6.35-25 linux-headers-2.6.35-27 libdaemons-ruby1.8
> linux-headers-2.6.35-27-server libactiverecord-ruby1.8 librack-ruby1.8
> wwwconfig-common rubygems1.8 linux-headers-2.6.35-24-server
> libjs-jquery
> libi18n-ruby1.8 javascript-common
> Use 'apt-get autoremove' to remove them.
> 0 upgraded, 0 newly installed, 0 to remove and 113 not upgraded.
>
> --
> 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@googlegroups.com
> <mailto:rubyonrails-talk@googlegroups.com>.
> To unsubscribe from this group, send email to
> rubyonrails-talk+unsubscribe@googlegroups.com
> <mailto:rubyonrails-talk%2Bunsubscribe@googlegroups.com>.
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>
>
>
> --
> *Francesca Krihely | **Community Marketing Manager | **10gen*
> *@francescapasha <http://twitter.com/francescapasha> | **@mongoDB
> <http://twitter.com/mongoDB>*
> *Skype: FrancescaMongoDB*
> *
> *
> /Mongo Boulder is happening February 1st! Join us
> <http://www.10gen.com/events/mongo-boulder> or propose a talk
> <http://www.10gen.com/talk-proposal>/
> /We're hiring! Come build great things with us 10gen.com/careers
> <http://10gen.com/careers>/
>
> --
> 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.
--
Raul Lopez
--
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.
No comments:
Post a Comment