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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Have you tried installing rvm? It may not be easy but it will handle your ruby versions (that seems to be the problem) Javier Q. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
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-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > 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* -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Javier Quarite wrote in post #1038456:> Have you tried installing rvm? > > It may not be easy but it will handle your ruby versions (that seems to > be > the problem) > > > Javier Q.I just did that and it resolve the issues. Thanks. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
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-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org > <mailto:lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>> 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > <mailto:rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>. > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > <mailto:rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>. > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@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.
My recommendation is to use rails ready, I used it the other day when setting up my MacBook and was really excited with the results. https://github.com/joshfng/railsready Sent from my iPad On Dec 28, 2011, at 10:33 AM, Francesca Krihely <francesca-Ot75HdpNzd8AvxtiuMwx3w@public.gmane.org> wrote:> 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-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en. > > > > > -- > Francesca Krihely | Community Marketing Manager | 10gen > @francescapasha | @mongoDB > Skype: FrancescaMongoDB > > Mongo Boulder is happening February 1st! Join us or propose a talk > We''re hiring! Come build great things with us 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Fri, Dec 30, 2011 at 9:06 PM, Jason <jasonwhitestl-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> My recommendation is to use rails ready, I used it the other day when > setting up my MacBook and was really excited with the results. > > https://github.com/joshfng/railsreadyDoes railsready use RVM? I''ve followed the RVM instructions on a couple machines and never had any problems installing RoR on a Mac. -- Greg Akins http://twitter.com/akinsgre -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 31/12/11 15:15, "Greg Akins" <angrygreg-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Fri, Dec 30, 2011 at 9:06 PM, Jason <jasonwhitestl-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> My recommendation is to use rails ready, I used it the other day when >> setting up my MacBook and was really excited with the results. >> >> https://github.com/joshfng/railsready > > Does railsready use RVM? I''ve followed the RVM instructions on a > couple machines and never had any problems installing RoR on a Mac.From a quick look at the link, it also gives you Homebrew (not a good idea if have MacPorts/fink installed) & it is recommended to run it on a fresh install of the OS. There is an rvm option. Bit over the top for my liking... Cheers, Phil... -- Nothing to see here... move along, move along -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.