Page 1 of 1

[SOLVED] Ruby on Rails problem

PostPosted: Aug 15th, '12, 08:15
by RealGecko
I`ve installed RoR for educational purposes and have a problem, when I try to create new app with
- rails app
I get this
- No such file or directory - /usr/lib/ruby/gems/1.8/gems/rails-2.3.14/lib/rails_generator/generators/applications/app/../../../../../fresh_rakefile
Anyone knows how to fix it?
All packages were installed from rpmdrake (actually I selected ruby-rails 2.3.14-1.mga2 for installation, everything else was installed as dependencies)
"gem list" gives
*** LOCAL GEMS ***

actionmailer (2.3.14)
actionpack (2.3.14)
activerecord (2.3.14)
activeresource (2.3.14)
activesupport (2.3.14)
builder (2.1.2)
fastthread (1.0.7)
i18n (0.4.2)
memcache-client (1.8.5)
passenger (2.2.9)
rack (1.1.2)
rails (2.3.14)
rake (0.8.7)
rchardet (1.3)
text-format (1.0.0)
text-hyphen (1.0.2)
tmail (1.2.7)
tzinfo (0.3.26)

Re: Ruby on Rails problem

PostPosted: Aug 15th, '12, 10:51
by djennings
I do not use ruby on rails, but urpmf suggests ruby-rails-devel
Code: Select all
$ urpmf fresh_rakefile
ruby-rails-devel:/usr/lib/ruby/gems/1.8/gems/rails-2.3.14/fresh_rakefile

Re: Ruby on Rails problem

PostPosted: Aug 15th, '12, 12:38
by RealGecko
Installation of mentioned package helped, thanks a lot :)
I got it now: production server requires only ruby-rails package, but if you want to develop RoR apps you need ruby-rails-devel. It`s common practice in Linux - using "devel" packages for development. Sorry for noobing :)