Friday, April 20, 2012

Re: [Rails] install Rails from terminal

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@ruby-forum.com> 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@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.
>

--
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@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