Monday, October 7, 2013

[Rails] Where on Ubuntu is Rails?

I followed the setup instructions for a fresh install of Mint15 according to this excellent tutorial : http://ryanbigg.com/2010/12/ubuntu-ruby-rvm-rails-and-you/
which sets up via rvm. I followed the instructions therein, but when I am in my ~ directory, i get:

user@Mint15Mate64 ~ $ rails create test
The program 'rails' can be found in the following packages:
 * rails
 * ruby-railties-3.2
Try: sudo apt-get install <selected package>

Oddly, if I also simply try:

user@Mint15Mate64 ~ $ rake -T
rake aborted!
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)
/home/user/.rvm/gems/ruby-2.0.0-p247/bin/ruby_executable_hooks:15:in `eval'
/home/user/.rvm/gems/ruby-2.0.0-p247/bin/ruby_executable_hooks:15:in `<main>'
(See full trace by running task with --trace)

Something is not appearing in my path -- but I dont know what the entry shuld be in my path. My path appears as:

user@Mint15Mate64 ~ $ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/user/.rvm/bin

and if I do
gem list
I get:
rails (4.0.0)
railties (4.0.0)
(among many other gems)

Can someone please point me in the right direction so that I can invoke
>rails create test

please?

Thanks, RVic

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/2c5a8f7e-355d-4eae-871e-bc69067bfe82%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate