[SOLVED] Ruby on Rails problem

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[SOLVED] Ruby on Rails problem

Postby RealGecko » Aug 15th, '12, 08:15

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)
Last edited by RealGecko on Aug 15th, '12, 12:40, edited 1 time in total.
RealGecko
 
Posts: 2
Joined: Aug 15th, '12, 08:04

Re: Ruby on Rails problem

Postby djennings » Aug 15th, '12, 10:51

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
Last edited by djennings on Aug 15th, '12, 13:55, edited 1 time in total.
User avatar
djennings
 
Posts: 613
Joined: Jun 2nd, '11, 23:51
Location: Wokingham, UK

Re: Ruby on Rails problem

Postby RealGecko » Aug 15th, '12, 12:38

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 :)
RealGecko
 
Posts: 2
Joined: Aug 15th, '12, 08:04


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest