Hi Rick,
thanks! I tried carrying out those instructions: heres what i got -
mwr@mwr-Ubuntu:/home$ which rails
/home/mwr/.rvm/gems/ruby-1.9.3-p429/bin/rails


mwr@mwr-Ubuntu:/home$ which 
/home/mwr/.rvm/gems/ruby-1.9.3-p429/bin/rails
/home/mwr/.rvm/gems/ruby-1.9.3-p429/bin/rails

I suppose im having trouble with step 2 of your directions. However its 
nice to have a kind of explanation of whats going on. Again, excuse my 
illiteracy on this, but it look like maybe i do have rails installed in 
my home directory?

**just discovered by accident I can do this:
mwr@mwr-Ubuntu:/home$ which 
/home/mwr/.rvm.gems/ruby-1.9.3-p429/bin/rails
mwr@mwr-Ubuntu:/home$ wc -l 'which rails'
wc: which rails: No such file or directory
mwr@mwr-Ubuntu:/home$ cd ..
mwr@mwr-Ubuntu:/$ which rails
/home/mwr/.rvm/gems/ruby-1.9.3-p429/bin/rails
mwr@mwr-Ubuntu:/$ which /home/mwr/.rvm/gems/ruby-1.9.3-p429/bin/rails
/home/mwr/.rvm/gems/ruby-1.9.3-p429/bin/rails
mwr@mwr-Ubuntu:/$ rails new path/here
      create
/home/mwr/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/fileutils.rb:247:in 
`mkdir': Permission denied - /path (Errno::EACCES)
  from 
/home/mwr/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/fileutils.rb:247:in 
`fu_mkdir'
  from 
/home/mwr/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/fileutils.rb:221:in 
`block (2 levels) in mkdir_p'
  from 
/home/mwr/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/fileutils.rb:219:in 
`reverse_each'
  from 
/home/mwr/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/fileutils.rb:219:in 
`block in mkdir_p'
  from 
/home/mwr/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/fileutils.rb:205:in 
`each'
  from 
/home/mwr/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/fileutils.rb:205:in 
`mkdir_p'
  from 
/home/mwr/.rvm/gems/ruby-1.9.3-p429/gems/thor-0.18.1/lib/thor/actions/empty_directory.rb:51:in
 
`block in invoke!'
  from 
/home/mwr/.rvm/gems/ruby-1.9.3-p429/gems/thor-0.18.1/lib/thor/actions/empty_directory.rb:117:in
 
`call'
  from 
/home/mwr/.rvm/gems/ruby-1.9.3-p429/gems/thor-0.18.1/lib/thor/actions/empty_directory.rb:117:in
 
`invoke_with_conflict_check'
  from 
/home/mwr/.rvm/gems/ruby-1.9.3-p429/gems/thor-0.18.1/lib/thor/actions/empty_directory.rb:50:in
 
`invoke!'
  from 
/home/mwr/.rvm/gems/ruby-1.9.3-p429/gems/thor-0.18.1/lib/thor/actions.rb:95:in 
`action'
  from 
/home/mwr/.rvm/gems/ruby-1.9.3-p429/gems/thor-0.18.1/lib/thor/actions/empty_directory.rb:15:in
 
`empty_directory'
  from 
/home/mwr/.rvm/gems/ruby-1.9.3-p429/gems/railties-3.2.13/lib/rails/generators/app_base.rb:103:in
 
`create_root'
  from (eval):1:in `create_root'
  from 
/home/mwr/.rvm/gems/ruby-1.9.3-p429/gems/thor-0.18.1/lib/thor/command.rb:27:in 
`run'
  from 
/home/mwr/.rvm/gems/ruby-1.9.3-p429/gems/thor-0.18.1/lib/thor/invocation.rb:120:in
 
`invoke_command'
  from 
/home/mwr/.rvm/gems/ruby-1.9.3-p429/gems/thor-0.18.1/lib/thor/invocation.rb:127:in
 
`block in invoke_all'
  from 
/home/mwr/.rvm/gems/ruby-1.9.3-p429/gems/thor-0.18.1/lib/thor/invocation.rb:127:in
 
`each'
  from 
/home/mwr/.rvm/gems/ruby-1.9.3-p429/gems/thor-0.18.1/lib/thor/invocation.rb:127:in
 
`map'
  from 
/home/mwr/.rvm/gems/ruby-1.9.3-p429/gems/thor-0.18.1/lib/thor/invocation.rb:127:in
 
`invoke_all'
  from 
/home/mwr/.rvm/gems/ruby-1.9.3-p429/gems/thor-0.18.1/lib/thor/group.rb:233:in 
`dispatch'
  from 
/home/mwr/.rvm/gems/ruby-1.9.3-p429/gems/thor-0.18.1/lib/thor/base.rb:439:in 
`start'
  from 
/home/mwr/.rvm/gems/ruby-1.9.3-p429/gems/railties-3.2.13/lib/rails/commands/application.rb:38:in
 
`<top (required)>'
  from 
/home/mwr/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
 
`require'
  from 
/home/mwr/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
 
`require'
  from 
/home/mwr/.rvm/gems/ruby-1.9.3-p429/gems/railties-3.2.13/lib/rails/cli.rb:15:in 
`<top (required)>'
  from 
/home/mwr/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
 
`require'
  from 
/home/mwr/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
 
`require'
  from 
/home/mwr/.rvm/gems/ruby-1.9.3-p429/gems/railties-3.2.13/bin/rails:7:in 
`<top (required)>'
  from /home/mwr/.rvm/gems/ruby-1.9.3-p429/bin/rails:19:in `load'
  from /home/mwr/.rvm/gems/ruby-1.9.3-p429/bin/rails:19:in `<main>'
  from /home/mwr/.rvm/gems/ruby-1.9.3-p429/bin/ruby_noexec_wrapper:14:in 
`eval'
  from /home/mwr/.rvm/gems/ruby-1.9.3-p429/bin/ruby_noexec_wrapper:14:in 
`<main>'
mwr@mwr-Ubuntu:/$ ls
bin    dev   initrd.img      lib64       mnt   root  selinux  tmp 
vmlinuz
boot   etc   initrd.img.old  lost+found  opt   run   srv      usr 
vmlinuz.old
cdrom  home  lib             media       proc  sbin  sys      var

-- 
Posted via http://www.ruby-forum.com/.

-- 
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+unsubscr...@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/75aa0fbfb736ab47d1796611463274a4%40ruby-forum.com?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to