I have been having trouble install Rails from the terminal on my new MacBook. I have tried to find a solution on both google and youtube, but I have not find a solution to the problem $ rails -v Rails is not currently installed on this system. To get the latest version, simply type: $ sudo gem install rails You can then rerun your "rails" command. $ sudo gem install rails Building native extensions. This could take a while... ERROR: Error installing rails: ERROR: Failed to build gem native extension. /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb mkmf.rb can''t find header files for ruby at /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ruby.h Gem files will remain installed in /Library/Ruby/Gems/1.8/gems/json-1.6.6 for inspection. Results logged to /Library/Ruby/Gems/1.8/gems/json-1.6.6/ext/json/ext/generator/gem_make.out -- 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.
hi,make sure that uve install ruby-dev package. 2012/4/19 sixxvirus sixxvirus <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>> I have been having trouble install Rails from the terminal on my new > MacBook. I have tried to find a solution on both google and youtube, but > I have not find a solution to the problem > > $ rails -v > Rails is not currently installed on this system. To get the latest > version, simply type: > > $ sudo gem install rails > > You can then rerun your "rails" command. > > $ sudo gem install rails > Building native extensions. This could take a while... > ERROR: Error installing rails: > ERROR: Failed to build gem native extension. > > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby > extconf.rb > mkmf.rb can''t find header files for ruby at > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ruby.h > > > Gem files will remain installed in > /Library/Ruby/Gems/1.8/gems/json-1.6.6 for inspection. > Results logged to > /Library/Ruby/Gems/1.8/gems/json-1.6.6/ext/json/ext/generator/gem_make.out > > -- > 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. > >-- *愿爱与喜悦心与你同在! 石岩敬上 大连东软信息学院 计算机系软件工程应用方向 Dalian NEUSOFT Institute of Information 中国-大连市软件园路8号 邮编:116023 **Mail:hlcfan.yan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org* <hlcfan.yan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> *Phone:15242613529* -- 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.
"hi,make sure that uve install ruby-dev package" I have ruby installed on my computer already, gem as well just not rails. That is where I am having my problems at. -- 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.
I might been having an issue with gems and where it is installed. I just tried install MYSQL and i got the same error message. $ sudo env ARCHFLAGS="-arch x86_64" gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config Fetching: mysql-2.8.1.gem (100%) Building native extensions. This could take a while... ERROR: Error installing mysql: ERROR: Failed to build gem native extension. /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb --with-mysql-config=/usr/local/mysql/bin/mysql_config mkmf.rb can''t find header files for ruby at /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ruby.h Gem files will remain installed in /Library/Ruby/Gems/1.8/gems/mysql-2.8.1 for inspection. Results logged to /Library/Ruby/Gems/1.8/gems/mysql-2.8.1/ext/mysql_api/gem_make.out -- 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.
On 19 April 2012 19:45, sixxvirus sixxvirus <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> "hi,make sure that uve install ruby-dev package" > > I have ruby installed on my computer already, gem as well just not > rails. That is where I am having my problems at.Read the suggestion more carefully, it says you need the package ruby-dev installed. Colin -- 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.
yes,its ruby-dev!!!!!make sure!!!!! ;O 2012/4/20 Colin Law <clanlaw-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>> On 19 April 2012 19:45, sixxvirus sixxvirus <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote: > > "hi,make sure that uve install ruby-dev package" > > > > I have ruby installed on my computer already, gem as well just not > > rails. That is where I am having my problems at. > > Read the suggestion more carefully, it says you need the package > ruby-dev installed. > > Colin > > -- > 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. > >-- *愿爱与喜悦心与你同在! 石岩敬上 大连东软信息学院 计算机系软件工程应用方向 Dalian NEUSOFT Institute of Information 中国-大连市软件园路8号 邮编:116023 **Mail:hlcfan.yan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org* <hlcfan.yan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> *Phone:15242613529* -- 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.
Hello first of all remove ruby folder that u have install in ur system and follow the instruction from this link: http://anuragsachan07.blogspot.in/2012/04/how-to-install-ruby-193-through-rvm-in.html I have written this blog for ubuntu so that please make sure the command for ur mac system. after installing ruby in ur system follow the instruction for installing rails in ur system: http://railsapps.github.com/installing-rails.html On Thu, Apr 19, 2012 at 7:45 AM, sixxvirus sixxvirus <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> I have been having trouble install Rails from the terminal on my new > MacBook. I have tried to find a solution on both google and youtube, but > I have not find a solution to the problem > > $ rails -v > Rails is not currently installed on this system. To get the latest > version, simply type: > > $ sudo gem install rails > > You can then rerun your "rails" command. > > $ sudo gem install rails > Building native extensions. This could take a while... > ERROR: Error installing rails: > ERROR: Failed to build gem native extension. > > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby > extconf.rb > mkmf.rb can''t find header files for ruby at > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ruby.h > > > Gem files will remain installed in > /Library/Ruby/Gems/1.8/gems/json-1.6.6 for inspection. > Results logged to > /Library/Ruby/Gems/1.8/gems/json-1.6.6/ext/json/ext/generator/gem_make.out > > -- > 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@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en. >-- Thanks & Regards Anurag Sachan PH:- +91-9560532987 -- 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.
Is the issue fixed? -- 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.