You are not logged in.

#1 2013-03-25 12:20:11

Aegidius
Member
From: Italy
Registered: 2011-06-29
Posts: 288
Website

Ruby on Rails: command not found

Hello! smile

I installed Ruby on rails with the command sudo gem install rails --no-ri --no-rdoc. In Aptana Studio 3 I try to create a new Rails project but in the IDE terminal I see the error bash: rails: command not found.

What is the problem?

Offline

#2 2013-03-25 12:28:43

Raynman
Member
Registered: 2011-10-22
Posts: 1,539

Re: Ruby on Rails: command not found

I guess rails is not anywhere in your PATH. I'm not familiar with gems, but you should find out where rails was installed and either make sure that directory is in your PATH (by adding it in ~/.bashrc) or set the full path to rails in the Aptana IDE.

Offline

#3 2013-03-25 13:26:43

Aegidius
Member
From: Italy
Registered: 2011-06-29
Posts: 288
Website

Re: Ruby on Rails: command not found

How can I find the full path to Rails?

Offline

#4 2013-03-25 13:48:17

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,588
Website

Re: Ruby on Rails: command not found


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#5 2013-03-25 14:18:53

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Ruby on Rails: command not found

Follow discussion in the linked thread.

Closed...


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

Board footer

Powered by FluxBB