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 testplease? 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org 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.
On 7 October 2013 14:40, RVince <rvince99-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org> wrote:> 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/binWhat is shown by rvm info Colin -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLtUd1WW9L%3DOvnY%3DO04TAAGYRXTsN4mt1JP%2BTjwspSRXYQ%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
user@Mint15Mate64 ~ $ rvm info ruby-2.0.0-p247: system: uname: "Linux Mint15Mate64 3.8.0-19-generic #29-Ubuntu SMP Wed Apr 17 18:16:28 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux" system: "mint/15/x86_64" bash: "/bin/bash => GNU bash, version 4.2.45(1)-release (x86_64-pc-linux-gnu)" zsh: " => not installed" rvm: version: "rvm 1.22.17 (stable) by Wayne E. Seguin <wayneeseguin-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>, Michal Papis <mpapis-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> [https://rvm.io/]" updated: "21 hours 28 minutes ago" path: "/home/user/.rvm" ruby: interpreter: "ruby" version: "2.0.0p247" date: "2013-06-27" platform: "x86_64-linux" patchlevel: "2013-06-27 revision 41674" full_version: "ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-linux]" homes: gem: "/home/user/.rvm/gems/ruby-2.0.0-p247" ruby: "/home/user/.rvm/rubies/ruby-2.0.0-p247" binaries: ruby: "/home/user/.rvm/rubies/ruby-2.0.0-p247/bin/ruby" irb: "/home/user/.rvm/rubies/ruby-2.0.0-p247/bin/irb" gem: "/home/user/.rvm/rubies/ruby-2.0.0-p247/bin/gem" rake: "/home/user/.rvm/gems/ruby-2.0.0-p247@global/bin/rake" environment: PATH: "/home/user/.rvm/gems/ruby-2.0.0-p247/bin:/home/user/.rvm/gems/ruby-2.0.0-p247@global/bin:/home/user/.rvm/rubies/ruby-2.0.0-p247/bin:/home/user/.rvm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games" GEM_HOME: "/home/user/.rvm/gems/ruby-2.0.0-p247" GEM_PATH: "/home/user/.rvm/gems/ruby-2.0.0-p247:/home/user/.rvm/gems/ruby-2.0.0-p247@global" MY_RUBY_HOME: "/home/user/.rvm/rubies/ruby-2.0.0-p247" IRBRC: "/home/user/.rvm/rubies/ruby-2.0.0-p247/.irbrc" RUBYOPT: "" gemset: "" -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/66752054-cc63-4b54-b18b-4aa778224b4f%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Please quote the previous message when replying as it makes it easier to follow the thread. Thanks. On 7 October 2013 15:19, RVince <rvince99-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org> wrote:> user@Mint15Mate64 ~ $ rvm info > > ruby-2.0.0-p247: > > system: > uname: "Linux Mint15Mate64 3.8.0-19-generic #29-Ubuntu SMP Wed Apr > 17 18:16:28 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux" > system: "mint/15/x86_64" > bash: "/bin/bash => GNU bash, version 4.2.45(1)-release > (x86_64-pc-linux-gnu)" > zsh: " => not installed" > > rvm: > version: "rvm 1.22.17 (stable) by Wayne E. Seguin > <wayneeseguin-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>, Michal Papis <mpapis-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> [https://rvm.io/]" > updated: "21 hours 28 minutes ago" > path: "/home/user/.rvm" > > ruby: > interpreter: "ruby" > version: "2.0.0p247" > date: "2013-06-27" > platform: "x86_64-linux" > patchlevel: "2013-06-27 revision 41674" > full_version: "ruby 2.0.0p247 (2013-06-27 revision 41674) > [x86_64-linux]" > > homes: > gem: "/home/user/.rvm/gems/ruby-2.0.0-p247" > ruby: "/home/user/.rvm/rubies/ruby-2.0.0-p247" > > binaries: > ruby: "/home/user/.rvm/rubies/ruby-2.0.0-p247/bin/ruby" > irb: "/home/user/.rvm/rubies/ruby-2.0.0-p247/bin/irb" > gem: "/home/user/.rvm/rubies/ruby-2.0.0-p247/bin/gem" > rake: "/home/user/.rvm/gems/ruby-2.0.0-p247@global/bin/rake" > > environment: > PATH: > "/home/user/.rvm/gems/ruby-2.0.0-p247/bin:/home/user/.rvm/gems/ruby-2.0.0-p247@global/bin:/home/user/.rvm/rubies/ruby-2.0.0-p247/bin:/home/user/.rvm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"Note that this shows the correct path. Have you got a file in your home folder .bash_profile. If so, what is in it? Also did you remember the step in the tutorial where it says to run ~/.bash_profile Colin Colin> GEM_HOME: "/home/user/.rvm/gems/ruby-2.0.0-p247" > GEM_PATH: > "/home/user/.rvm/gems/ruby-2.0.0-p247:/home/user/.rvm/gems/ruby-2.0.0-p247@global" > MY_RUBY_HOME: "/home/user/.rvm/rubies/ruby-2.0.0-p247" > IRBRC: "/home/user/.rvm/rubies/ruby-2.0.0-p247/.irbrc" > RUBYOPT: "" > gemset: "" > > -- > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit > https://groups.google.com/d/msgid/rubyonrails-talk/66752054-cc63-4b54-b18b-4aa778224b4f%40googlegroups.com. > > For more options, visit https://groups.google.com/groups/opt_out.-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLsOCVaTqM4WVeW7i6u62bgF%3DhLN36O5wukEk3%2BP-3g_aQ%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
Colin, ~/bash_profile has only the following line: [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function* when I reload bash profile: . ~/.bash_profile rails works -- it''s recognized by the. I have since rebooted since installing everything (I reloaded .bash_profile befoe the reboot). Must I reload .bash_profile every time? I thoughtthis was loaded whenever I opened a terminal window? Thanks so much for your help in getting this going! RVic On Monday, October 7, 2013 9:40:11 AM UTC-4, RVince wrote:> > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/1dc25b8d-82e9-4435-b9ab-0b97f08a5820%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
On 7 October 2013 15:52, RVince <rvince99-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org> wrote:> Colin, > > ~/bash_profile has only the following line: > > > [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load > RVM into a shell session *as a function* > > when I reload bash profile: > . ~/.bash_profile > > rails works -- it''s recognized by the. I have since rebooted since > installing everything (I reloaded .bash_profile befoe the reboot). Must I > reload .bash_profile every time? I thoughtthis was loaded whenever I opened > a terminal window?You should not have to do it each time. I am not sure why it might not be invoking it automatically. If you add the line in .bash_profile to the file .bashrc then it should work ok. I don''t think that it will matter that it is in .bash_profile also, but if you get any error messages when logging in or opening a terminal then remove .bash_profile (or rename it initially). Colin> > Thanks so much for your help in getting this going! RVic > > > > On Monday, October 7, 2013 9:40:11 AM UTC-4, RVince wrote: >> >> 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit > https://groups.google.com/d/msgid/rubyonrails-talk/1dc25b8d-82e9-4435-b9ab-0b97f08a5820%40googlegroups.com. > > For more options, visit https://groups.google.com/groups/opt_out.-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLt1kY1BSR4hcTexPoWuW8d5bVnXq0PbFsfFq1pjsfLi5w%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.