Setting Up Ruby On Rails on Fedora 12 and 13 one step only
Just one command and every thing is done
[ismail@localhost ~]$ sudo yum install rubygem-rails ruby-mysql rubygem-sqlite3-ruby rubygem-mongrel* rubygem-json rubygem-git ruby-devel
[ismail@localhost ~]$ sudo gem update
Why same post again
Following Error i confront so to resolve the problem here is new way
-bash-4.0$ rails my_app -d mysql
/usr/lib/ruby/site_ruby/1.8/rubygems.rb:827:in `report_activate_error': RubyGem version error: rack(1.1.0 not ~> 1.0.0) (Gem::LoadError)
from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:261:in `activate'
from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:296:in `activate'
from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:295:in `each'
from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:295:in `activate'
from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:296:in `activate'
from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:295:in `each'
from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:295:in `activate'
from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:68:in `gem'
from /usr/bin/rails:18
Updating gem does the work
[ismail@localhost ~]$ sudo gem update
So we are done here and enjoy programming with rails on Fedora 12
Ruby On Rails Rocks
No comments:
Post a Comment