Hi, I''ve just installed the latest gem version and also rails. Everything went ok. I am using Ubuntu 11.10 with ruby 1.9.3-p194. However, when I try to create a new application, I get: --------------------------------------------------------------------------- /usr/local/lib/site_ruby/1.8/rubygems/dependency.rb:247:in `to_specs'': Could not find railties (>= 0) amongst [] (Gem::LoadError) from /usr/local/lib/site_ruby/1.8/rubygems/dependency.rb:256:in `to_spec'' from /usr/local/lib/site_ruby/1.8/rubygems.rb:1231:in `gem'' from /usr/local/bin/rails:18 --------------------------------------------------------------------------- when I want to get the rails version I also get this: --------------------------------------------------------------------------- /usr/local/lib/site_ruby/1.8/rubygems/dependency.rb:247:in `to_specs'': Could not find railties (>= 0) amongst [] (Gem::LoadError) from /usr/local/lib/site_ruby/1.8/rubygems/dependency.rb:256:in `to_spec'' from /usr/local/lib/site_ruby/1.8/rubygems.rb:1231:in `gem'' from /usr/local/bin/rails:18 --------------------------------------------------------------------------- regards, seba -- 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 post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
It seems that you still using ruby 1.8. Try : *ruby -v * And show me the output. If it''s not ruby 1.9.3-p194, just install this version of ruby *rvm install 1.9.3-p194 *( if you are using ''rvm'' as ruby management tool ) Keep me posted ;) 2012/7/23 Sebastjan H. <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>> Hi, > > I''ve just installed the latest gem version and also rails. Everything > went ok. I am using Ubuntu 11.10 with ruby 1.9.3-p194. > > However, when I try to create a new application, I get: > > --------------------------------------------------------------------------- > /usr/local/lib/site_ruby/1.8/rubygems/dependency.rb:247:in `to_specs'': > Could not find railties (>= 0) amongst [] (Gem::LoadError) > from /usr/local/lib/site_ruby/1.8/rubygems/dependency.rb:256:in > `to_spec'' > from /usr/local/lib/site_ruby/1.8/rubygems.rb:1231:in `gem'' > from /usr/local/bin/rails:18 > --------------------------------------------------------------------------- > > > when I want to get the rails version I also get this: > --------------------------------------------------------------------------- > /usr/local/lib/site_ruby/1.8/rubygems/dependency.rb:247:in `to_specs'': > Could not find railties (>= 0) amongst [] (Gem::LoadError) > from /usr/local/lib/site_ruby/1.8/rubygems/dependency.rb:256:in > `to_spec'' > from /usr/local/lib/site_ruby/1.8/rubygems.rb:1231:in `gem'' > from /usr/local/bin/rails:18 > --------------------------------------------------------------------------- > > regards, > seba > > -- > 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 post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit https://groups.google.com/groups/opt_out. > > >-- *lionel Bastian LONKAP TSAMBA* Étudiant 4e année Génie Informatique et Statistiques à Polytech-lille Site: http://first-developer.fr Email: lionel.firstdeveloper-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Tel: +336 12 48 03 01 -- *lionel Bastian LONKAP TSAMBA* Fourth year student in Software Engineering and Statistics at the Lille University Graduate School of Engineers (Polytech-Lille) Site: http://first-developer.fr Email: lionel.firstdeveloper-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Phone: +336 12 48 03 01 -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
lionel first-developer wrote in post #1069751:> It seems that you still using ruby 1.8. >I thought so too, however, ruby -v gives: ruby 1.9.3p194 (2012-04-20 revision 35410) [i686-linux] regards, seba -- 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 post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
Sebastjan H. wrote in post #1069754:> lionel first-developer wrote in post #1069751: >> It seems that you still using ruby 1.8. >> > > I thought so too, however, ruby -v gives: > > ruby 1.9.3p194 (2012-04-20 revision 35410) [i686-linux] > > > regards, > sebahow would I check for and completely remove version 1.8? -- 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 post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
On 23 July 2012 10:29, Sebastjan H. <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Sebastjan H. wrote in post #1069754: >> lionel first-developer wrote in post #1069751: >>> It seems that you still using ruby 1.8. >>> >> >> I thought so too, however, ruby -v gives: >> >> ruby 1.9.3p194 (2012-04-20 revision 35410) [i686-linux] >> >> >> regards, >> seba > > how would I check for and completely remove version 1.8?I strongly advise using rvm. Then you will have full control of ruby and gem versions. Colin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
Colin Law wrote in post #1069761:> On 23 July 2012 10:29, Sebastjan H. <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote: >>> regards, >>> seba >> >> how would I check for and completely remove version 1.8? > > I strongly advise using rvm. Then you will have full control of ruby > and gem versions. > > ColinI am using rvm and according to the printout for rvm list I was sure I don''t have 1.8: rvm rubies ruby-1.9.3-p125 [ i686 ] =* ruby-1.9.3-p194 [ i686 ] # => - current # =* - current && default # * - default regards seba -- 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 post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
On 23 July 2012 11:58, Sebastjan H. <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Colin Law wrote in post #1069761: >> On 23 July 2012 10:29, Sebastjan H. <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote: >>>> regards, >>>> seba >>> >>> how would I check for and completely remove version 1.8? >> >> I strongly advise using rvm. Then you will have full control of ruby >> and gem versions. >> >> Colin > > I am using rvm and according to the printout for rvm list I was sure I > don''t have 1.8: > > rvm rubies > > ruby-1.9.3-p125 [ i686 ] > =* ruby-1.9.3-p194 [ i686 ] > > # => - current > # =* - current && default > # * - defaultWhat does rvm info show? Colin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
Colin Law wrote in post #1069764:> On 23 July 2012 11:58, Sebastjan H. <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote: >>> Colin >> # =* - current && default >> # * - default > > What does > rvm info > show? > > Colinrvm info: ruby-1.9.3-p194: system: uname: "Linux sebah-laptop 3.0.0-23-generic #38-Ubuntu SMP Fri Jul 6 13:47:10 UTC 2012 i686 i686 i386 GNU/Linux" bash: "/bin/bash => GNU bash, version 4.2.10(1)-release (i686-pc-linux-gnu)" zsh: " => not installed" rvm: version: "rvm 1.13.4 (stable) by Wayne E. Seguin <wayneeseguin-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>, Michal Papis <mpapis-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> [https://rvm.io/]" updated: "2 months 11 days 13 seconds ago" ruby: interpreter: "ruby" version: "1.9.3p194" date: "2012-04-20" platform: "i686-linux" patchlevel: "2012-04-20 revision 35410" full_version: "ruby 1.9.3p194 (2012-04-20 revision 35410) [i686-linux]" homes: gem: "/home/sebah/.rvm/gems/ruby-1.9.3-p194" ruby: "/home/sebah/.rvm/rubies/ruby-1.9.3-p194" binaries: ruby: "/home/sebah/.rvm/rubies/ruby-1.9.3-p194/bin/ruby" irb: "/home/sebah/.rvm/rubies/ruby-1.9.3-p194/bin/irb" gem: "/home/sebah/.rvm/rubies/ruby-1.9.3-p194/bin/gem" rake: "/home/sebah/.rvm/rubies/ruby-1.9.3-p194/bin/rake" environment: PATH: "/home/sebah/.rvm/gems/ruby-1.9.3-p194/bin:/home/sebah/.rvm/gems/ruby-1.9.3-p194@global/bin:/home/sebah/.rvm/rubies/ruby-1.9.3-p194/bin:/home/sebah/.rvm/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" GEM_HOME: "/home/sebah/.rvm/gems/ruby-1.9.3-p194" GEM_PATH: "/home/sebah/.rvm/gems/ruby-1.9.3-p194:/home/sebah/.rvm/gems/ruby-1.9.3-p194@global" MY_RUBY_HOME: "/home/sebah/.rvm/rubies/ruby-1.9.3-p194" IRBRC: "/home/sebah/.rvm/rubies/ruby-1.9.3-p194/.irbrc" RUBYOPT: "" gemset: "" -- 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 post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
My guess is you''ve got something wrong in your shell environment. What do you see when you type: $(*which ruby) --version* NOTE: this is proper syntax for sh, bash, or ksh. For csh use: *`which ruby` --version* Rick On Monday, July 23, 2012 7:15:39 AM UTC-4, Ruby-Forum.com User wrote:> > Colin Law wrote in post #1069764: > > On 23 July 2012 11:58, Sebastjan H. <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote: > >>> Colin > >> # =* - current && default > >> # * - default > > > > What does > > rvm info > > show? > > > > Colin > > rvm info: > > ruby-1.9.3-p194: > > system: > uname: "Linux sebah-laptop 3.0.0-23-generic #38-Ubuntu SMP Fri > Jul 6 13:47:10 UTC 2012 i686 i686 i386 GNU/Linux" > bash: "/bin/bash => GNU bash, version 4.2.10(1)-release > (i686-pc-linux-gnu)" > zsh: " => not installed" > > rvm: > version: "rvm 1.13.4 (stable) by Wayne E. Seguin > <wayneeseguin-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>, Michal Papis <mpapis-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > [https://rvm.io/]" > updated: "2 months 11 days 13 seconds ago" > > ruby: > interpreter: "ruby" > version: "1.9.3p194" > date: "2012-04-20" > platform: "i686-linux" > patchlevel: "2012-04-20 revision 35410" > full_version: "ruby 1.9.3p194 (2012-04-20 revision 35410) > [i686-linux]" > > homes: > gem: "/home/sebah/.rvm/gems/ruby-1.9.3-p194" > ruby: "/home/sebah/.rvm/rubies/ruby-1.9.3-p194" > > binaries: > ruby: "/home/sebah/.rvm/rubies/ruby-1.9.3-p194/bin/ruby" > irb: "/home/sebah/.rvm/rubies/ruby-1.9.3-p194/bin/irb" > gem: "/home/sebah/.rvm/rubies/ruby-1.9.3-p194/bin/gem" > rake: "/home/sebah/.rvm/rubies/ruby-1.9.3-p194/bin/rake" > > environment: > PATH: > "/home/sebah/.rvm/gems/ruby-1.9.3-p194/bin:/home/sebah/.rvm/gems/ruby-1.9.3-p194@global/bin:/home/sebah/.rvm/rubies/ruby-1.9.3-p194/bin:/home/sebah/.rvm/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" > > GEM_HOME: "/home/sebah/.rvm/gems/ruby-1.9.3-p194" > GEM_PATH: > "/home/sebah/.rvm/gems/ruby-1.9.3-p194:/home/sebah/.rvm/gems/ruby-1.9.3-p194@global" > > MY_RUBY_HOME: "/home/sebah/.rvm/rubies/ruby-1.9.3-p194" > IRBRC: "/home/sebah/.rvm/rubies/ruby-1.9.3-p194/.irbrc" > RUBYOPT: "" > gemset: "" > > -- > 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 post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/nnBki4VKj9gJ. For more options, visit https://groups.google.com/groups/opt_out.
Rick Lloyd wrote in post #1069775:> My guess is you''ve got something wrong in your shell environment. What > do > you see when you type: > > $(*which ruby) --version*produced bash: syntax error near unexpected token `--version*'' and> *`which ruby` --version*produced bash: */home/sebah/.rvm/rubies/ruby-1.9.3-p194/bin/ruby: No such file or directory -- 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 post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
Try this as well : *rvm use ruby-1.9.3-p125* and retry :) 2012/7/23 Sebastjan H. <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>> Rick Lloyd wrote in post #1069775: > > My guess is you''ve got something wrong in your shell environment. What > > do > > you see when you type: > > > > $(*which ruby) --version* > produced > bash: syntax error near unexpected token `--version*'' > > and > > *`which ruby` --version* > > produced > bash: */home/sebah/.rvm/rubies/ruby-1.9.3-p194/bin/ruby: No such file or > directory > > -- > 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 post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit https://groups.google.com/groups/opt_out. > > >-- *lionel Bastian LONKAP TSAMBA* Étudiant 4e année Génie Informatique et Statistiques à Polytech-lille Site: http://first-developer.fr Email: lionel.firstdeveloper-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Tel: +336 12 48 03 01 -- *lionel Bastian LONKAP TSAMBA* Fourth year student in Software Engineering and Statistics at the Lille University Graduate School of Engineers (Polytech-Lille) Site: http://first-developer.fr Email: lionel.firstdeveloper-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Phone: +336 12 48 03 01 -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
lionel first-developer wrote in post #1069780:> Try this as well : > > *rvm use ruby-1.9.3-p125* > > and retry :) >nope, still the same error as above. /usr/local/lib/site_ruby/1.8/rubygems/dependency.rb:247:in `to_specs'': Could not find railties (>= 0) amongst [] (Gem::LoadError) from /usr/local/lib/site_ruby/1.8/rubygems/dependency.rb:256:in `to_spec'' from /usr/local/lib/site_ruby/1.8/rubygems.rb:1231:in `gem'' from /usr/local/bin/rails:18 sebah@sebah-laptop:~/rails/blog$ -- 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 post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
On 23 July 2012 12:15, Sebastjan H. <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Colin Law wrote in post #1069764: >> On 23 July 2012 11:58, Sebastjan H. <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote: >>>> Colin >>> # =* - current && default >>> # * - default >> >> What does >> rvm info >> show? >> >> Colin > > rvm info: > > ruby-1.9.3-p194: > > system: > uname: "Linux sebah-laptop 3.0.0-23-generic #38-Ubuntu SMP Fri > Jul 6 13:47:10 UTC 2012 i686 i686 i386 GNU/Linux" > bash: "/bin/bash => GNU bash, version 4.2.10(1)-release > (i686-pc-linux-gnu)" > zsh: " => not installed" > > rvm: > version: "rvm 1.13.4 (stable) by Wayne E. Seguin > <wayneeseguin-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>, Michal Papis <mpapis-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > [https://rvm.io/]" > updated: "2 months 11 days 13 seconds ago" > > ruby: > interpreter: "ruby" > version: "1.9.3p194" > date: "2012-04-20" > platform: "i686-linux" > patchlevel: "2012-04-20 revision 35410" > full_version: "ruby 1.9.3p194 (2012-04-20 revision 35410) > [i686-linux]" > > homes: > gem: "/home/sebah/.rvm/gems/ruby-1.9.3-p194" > ruby: "/home/sebah/.rvm/rubies/ruby-1.9.3-p194" > > binaries: > ruby: "/home/sebah/.rvm/rubies/ruby-1.9.3-p194/bin/ruby" > irb: "/home/sebah/.rvm/rubies/ruby-1.9.3-p194/bin/irb" > gem: "/home/sebah/.rvm/rubies/ruby-1.9.3-p194/bin/gem" > rake: "/home/sebah/.rvm/rubies/ruby-1.9.3-p194/bin/rake" > > environment: > PATH: > "/home/sebah/.rvm/gems/ruby-1.9.3-p194/bin:/home/sebah/.rvm/gems/ruby-1.9.3-p194@global/bin:/home/sebah/.rvm/rubies/ruby-1.9.3-p194/bin:/home/sebah/.rvm/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" > GEM_HOME: "/home/sebah/.rvm/gems/ruby-1.9.3-p194" > GEM_PATH: > "/home/sebah/.rvm/gems/ruby-1.9.3-p194:/home/sebah/.rvm/gems/ruby-1.9.3-p194@global" > MY_RUBY_HOME: "/home/sebah/.rvm/rubies/ruby-1.9.3-p194" > IRBRC: "/home/sebah/.rvm/rubies/ruby-1.9.3-p194/.irbrc" > RUBYOPT: "" > gemset: ""How about gem list Colin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
Colin Law wrote in post #1069800:> On 23 July 2012 12:15, Sebastjan H. <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote: >>> Colin >> zsh: " => not installed" >> date: "2012-04-20" >> ruby: "/home/sebah/.rvm/rubies/ruby-1.9.3-p194/bin/ruby" >> MY_RUBY_HOME: "/home/sebah/.rvm/rubies/ruby-1.9.3-p194" >> IRBRC: "/home/sebah/.rvm/rubies/ruby-1.9.3-p194/.irbrc" >> RUBYOPT: "" >> gemset: "" > > How about > gem list > > Colinwell, I only get this: *** LOCAL GEMS *** -- 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 post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
Try again without the asterisks, they were for formatting in the mail you copied from... Am 23.07.2012 15:29 schrieb "Sebastjan H." <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>:> lionel first-developer wrote in post #1069780: > > Try this as well : > > > > *rvm use ruby-1.9.3-p125* > > > > and retry :) > > > > nope, still the same error as above. > > /usr/local/lib/site_ruby/1.8/rubygems/dependency.rb:247:in `to_specs'': > Could not find railties (>= 0) amongst [] (Gem::LoadError) > from /usr/local/lib/site_ruby/1.8/rubygems/dependency.rb:256:in > `to_spec'' > from /usr/local/lib/site_ruby/1.8/rubygems.rb:1231:in `gem'' > from /usr/local/bin/rails:18 > sebah@sebah-laptop:~/rails/blog$ > > -- > 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 post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > 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 post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
Norbert Melzer wrote in post #1069957:> Try again without the asterisks, they were for formatting in the mail > you > copied from... > Am 23.07.2012 15:29 schrieb "Sebastjan H." <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>:Did you mean: sebah@sebah-laptop:~$ `which ruby` --version ruby 1.9.3p194 (2012-04-20 revision 35410) [i686-linux] -- 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 post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
Sebastjan H. wrote in post #1069964:> Norbert Melzer wrote in post #1069957: >> Try again without the asterisks, they were for formatting in the mail >> you >> copied from... >> Am 23.07.2012 15:29 schrieb "Sebastjan H." <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>: > > Did you mean: > > sebah@sebah-laptop:~$ `which ruby` --version > ruby 1.9.3p194 (2012-04-20 revision 35410) [i686-linux]I''ve checked my ubuntu program centre and there I have something called a transitional package for ruby 1.8 (I am backtranslating from my language). If I try to uninstall it I''d have to uninstall some dependencies and I am not sure if I may. -- 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 post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
On 24 July 2012 15:04, Sebastjan H. <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Sebastjan H. wrote in post #1069964: >> Norbert Melzer wrote in post #1069957: >>> Try again without the asterisks, they were for formatting in the mail >>> you >>> copied from... >>> Am 23.07.2012 15:29 schrieb "Sebastjan H." <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>: >> >> Did you mean: >> >> sebah@sebah-laptop:~$ `which ruby` --version >> ruby 1.9.3p194 (2012-04-20 revision 35410) [i686-linux] > > I''ve checked my ubuntu program centre and there I have something called > a transitional package for ruby 1.8 (I am backtranslating from my > language). If I try to uninstall it I''d have to uninstall some > dependencies and I am not sure if I may.No need to do that, your are using rvm so it should be using the version installed under rvm. Can you post the complete output from trying to create a new rails app. Colin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
Colin Law wrote in post #1070094:> On 24 July 2012 15:04, Sebastjan H. <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote: >>> ruby 1.9.3p194 (2012-04-20 revision 35410) [i686-linux] >> >> I''ve checked my ubuntu program centre and there I have something called >> a transitional package for ruby 1.8 (I am backtranslating from my >> language). If I try to uninstall it I''d have to uninstall some >> dependencies and I am not sure if I may. > > No need to do that, your are using rvm so it should be using the > version installed under rvm. > Can you post the complete output from trying to create a new rails app. > > ColinI''ve uninstalled the transitional package anyways and it didn''t help. It still tries to access the location below. The entire output: sebah@sebah-laptop:~/rails$ rails new test /usr/local/lib/site_ruby/1.8/rubygems/dependency.rb:247:in `to_specs'': Could not find railties (>= 0) amongst [] (Gem::LoadError) from /usr/local/lib/site_ruby/1.8/rubygems/dependency.rb:256:in `to_spec'' from /usr/local/lib/site_ruby/1.8/rubygems.rb:1231:in `gem'' from /usr/local/bin/rails:18 -- 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 post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
On 25 July 2012 09:21, Sebastjan H. <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Colin Law wrote in post #1070094: >> On 24 July 2012 15:04, Sebastjan H. <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote: >>>> ruby 1.9.3p194 (2012-04-20 revision 35410) [i686-linux] >>> >>> I''ve checked my ubuntu program centre and there I have something called >>> a transitional package for ruby 1.8 (I am backtranslating from my >>> language). If I try to uninstall it I''d have to uninstall some >>> dependencies and I am not sure if I may. >> >> No need to do that, your are using rvm so it should be using the >> version installed under rvm. >> Can you post the complete output from trying to create a new rails app. >> >> Colin > > I''ve uninstalled the transitional package anyways and it didn''t help. It > still tries to access the location below. > > The entire output: > > sebah@sebah-laptop:~/rails$ rails new test > /usr/local/lib/site_ruby/1.8/rubygems/dependency.rb:247:in `to_specs'': > Could not find railties (>= 0) amongst [] (Gem::LoadError) > from /usr/local/lib/site_ruby/1.8/rubygems/dependency.rb:256:in > `to_spec'' > from /usr/local/lib/site_ruby/1.8/rubygems.rb:1231:in `gem'' > from /usr/local/bin/rails:18Have you installed rails inside rvm? Try gem install rails Note, no sudo. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
Sebastjan H.
2012-Jul-25 09:22 UTC
Re: Re: Re: Re: Re: Re: Re: trouble with new app in rails
Colin Law wrote in post #1070100:> On 25 July 2012 09:21, Sebastjan H. <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote: >>> version installed under rvm. >> /usr/local/lib/site_ruby/1.8/rubygems/dependency.rb:247:in `to_specs'': >> Could not find railties (>= 0) amongst [] (Gem::LoadError) >> from /usr/local/lib/site_ruby/1.8/rubygems/dependency.rb:256:in >> `to_spec'' >> from /usr/local/lib/site_ruby/1.8/rubygems.rb:1231:in `gem'' >> from /usr/local/bin/rails:18 > > Have you installed rails inside rvm? Try > gem install rails > Note, no sudo.After several attempts I get: sebah@sebah-laptop:~/rails$ gem install rails ERROR: Could not find a valid gem ''rails'' (>= 0) in any repository ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError) too many bad responses (http://rubygems.org/latest_specs.4.8.gz) sebah@sebah-laptop:~/rails$ gem install rails ERROR: Could not find a valid gem ''rails'' (>= 0) in any repository ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError) too many connection resets (http://rubygems.org/latest_specs.4.8.gz) sebah@sebah-laptop:~/rails$ gem install rails ERROR: Could not find a valid gem ''rails'' (>= 0) in any repository ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError) too many connection resets (http://rubygems.org/latest_specs.4.8.gz) -- 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 post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
So where did those astericks come from? You have a problem with your rvm ruby installation. Here''s what I see when I type *$(which ruby) --version b*ash-3.2$* rvm list rvm rubies =* ruby-1.9.3-p194 [ x86_64 ] # => - current # =* - current && default # * - default *bash-3.2$* which ruby /Users/richardlloyd/.rvm/rubies/ruby-1.9.3-p194/bin/ruby *bash-3.2$ *$(which ruby) --version ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin12.0.0] *bash-3.2$ * *My suggestion is to uninstall your ruby-1.9.3-p194 and install a clean copy. Rick On Monday, July 23, 2012 8:45:25 AM UTC-4, Ruby-Forum.com User wrote:> > Rick Lloyd wrote in post #1069775: > > My guess is you''ve got something wrong in your shell environment. What > > do > > you see when you type: > > > > $(*which ruby) --version* > produced > bash: syntax error near unexpected token `--version*'' > > and > > *`which ruby` --version* > > produced > bash: */home/sebah/.rvm/rubies/ruby-1.9.3-p194/bin/ruby: No such file or > directory > > -- > 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 post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/tS-yyC6qWgQJ. For more options, visit https://groups.google.com/groups/opt_out.
Colin Law
2012-Jul-25 12:23 UTC
Re: Re: Re: Re: Re: Re: Re: Re: trouble with new app in rails
On 25 July 2012 10:22, Sebastjan H. <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Colin Law wrote in post #1070100: >> On 25 July 2012 09:21, Sebastjan H. <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote: >>>> version installed under rvm. >>> /usr/local/lib/site_ruby/1.8/rubygems/dependency.rb:247:in `to_specs'': >>> Could not find railties (>= 0) amongst [] (Gem::LoadError) >>> from /usr/local/lib/site_ruby/1.8/rubygems/dependency.rb:256:in >>> `to_spec'' >>> from /usr/local/lib/site_ruby/1.8/rubygems.rb:1231:in `gem'' >>> from /usr/local/bin/rails:18 >> >> Have you installed rails inside rvm? Try >> gem install rails >> Note, no sudo. > > After several attempts I get: > > sebah@sebah-laptop:~/rails$ gem install rails > ERROR: Could not find a valid gem ''rails'' (>= 0) in any repository > ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError) > too many bad responses (http://rubygems.org/latest_specs.4.8.gz)> > sebah@sebah-laptop:~/rails$ gem install rails > ERROR: Could not find a valid gem ''rails'' (>= 0) in any repository > ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError) > too many connection resets (http://rubygems.org/latest_specs.4.8.gz)Do you have any problems with your internet connection? Is there a proxy server for your connection? Colin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
Sebastjan H.
2012-Jul-25 17:41 UTC
Re: Re: Re: Re: Re: Re: Re: Re: trouble with new app in rails
Colin Law wrote in post #1070137:> On 25 July 2012 10:22, Sebastjan H. <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote: >>> Have you installed rails inside rvm? Try >>> gem install rails >>> Note, no sudo. >> >> After several attempts I get: >> >> sebah@sebah-laptop:~/rails$ gem install rails >> ERROR: Could not find a valid gem ''rails'' (>= 0) in any repository >> ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError) >> too many bad responses (http://rubygems.org/latest_specs.4.8.gz) > >> >> sebah@sebah-laptop:~/rails$ gem install rails >> ERROR: Could not find a valid gem ''rails'' (>= 0) in any repository >> ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError) >> too many connection resets (http://rubygems.org/latest_specs.4.8.gz) > > Do you have any problems with your internet connection? > Is there a proxy server for your connection? > > ColinI don''t think it''s the internet connection, I get the same errors at home and at work. I think it''s best we just let this one go, I gave up. I''ll probably just make a fresh install of everything. thank you and kind regards, seba -- 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 post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
Hi, I am back with a new problem. Today I''ve installed Ubuntu 12.04 and after some trouble also Ruby (output for ruby -v): ruby 1.9.3p194 (2012-04-20 revision 35410) [i686-linux] and Rails (output for rails -v): Rails 2.3.14 I say trouble, because when I''ve installed with RVM I couldn''t use them. The system kept saying unknown command for ruby and rails and it suggested to install via apt-get install. So I did. Still nothing. Then I ran the RVM installs again and now everything appears to be in order. However (there''s always however with me lately), when I run "rails new tasks" rails actually generates "new" as the application folder. And after "cd new" + "rails server" rails generates another application called "server". What can I do? thx seba -- 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 post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
On 12 August 2012 17:29, Sebastjan H. <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Hi, > > I am back with a new problem. Today I''ve installed Ubuntu 12.04 and > after some trouble also > > Ruby (output for ruby -v): > ruby 1.9.3p194 (2012-04-20 revision 35410) [i686-linux] > > and Rails (output for rails -v): > Rails 2.3.14 > > I say trouble, because when I''ve installed with RVM I couldn''t use them. > The system kept saying unknown command for ruby and rails and it > suggested to install via apt-get install. So I did. Still nothing. Then > I ran the RVM installs again and now everything appears to be in order.You should not have used apt-get if you are using rvm. But since you have now got it working with rvm that is ok.> > However (there''s always however with me lately), when I run > "rails new tasks" rails actually generates "new" as the application > folder. And after "cd new" + "rails server" rails generates another > application called "server". > > What can I do?You can use rails 3. The rails command has changed since version 2. The current version of rails is 3.2.8. If you really want to use rails 2 then the guides can be found at http://guides.rubyonrails.org/v2.3.11/ Colin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
Colin Law wrote in post #1072089:> On 12 August 2012 17:29, Sebastjan H. <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote: >> >> I say trouble, because when I''ve installed with RVM I couldn''t use them. >> The system kept saying unknown command for ruby and rails and it >> suggested to install via apt-get install. So I did. Still nothing. Then >> I ran the RVM installs again and now everything appears to be in order. > > You should not have used apt-get if you are using rvm. But since you > have now got it working with rvm that is ok.This was the only way at the time I could get it working.>> >> However (there''s always however with me lately), when I run >> "rails new tasks" rails actually generates "new" as the application >> folder. And after "cd new" + "rails server" rails generates another >> application called "server". >> >> What can I do? > > You can use rails 3. The rails command has changed since version 2. > The current version of rails is 3.2.8. If you really want to use > rails 2 then the guides can be found at > http://guides.rubyonrails.org/v2.3.11/I don''t want to use rails 2, this was all installed by default as I described above. Are these issues related to Ubuntu? Are other distributions more aproppriate for RoR? And finally now what? Should I try and change to rials 3 via RVM? seba -- 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 post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
On 12 August 2012 18:36, Sebastjan H. <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Colin Law wrote in post #1072089: >> On 12 August 2012 17:29, Sebastjan H. <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote: >>> >>> I say trouble, because when I''ve installed with RVM I couldn''t use them. >>> The system kept saying unknown command for ruby and rails and it >>> suggested to install via apt-get install. So I did. Still nothing. Then >>> I ran the RVM installs again and now everything appears to be in order. >> >> You should not have used apt-get if you are using rvm. But since you >> have now got it working with rvm that is ok. > > This was the only way at the time I could get it working. > >>> >>> However (there''s always however with me lately), when I run >>> "rails new tasks" rails actually generates "new" as the application >>> folder. And after "cd new" + "rails server" rails generates another >>> application called "server". >>> >>> What can I do? >> >> You can use rails 3. The rails command has changed since version 2. >> The current version of rails is 3.2.8. If you really want to use >> rails 2 then the guides can be found at >> http://guides.rubyonrails.org/v2.3.11/ > > I don''t want to use rails 2, this was all installed by default as I > described above. Are these issues related to Ubuntu? Are other > distributions more aproppriate for RoR?Ubuntu is excellent for rails.> And finally now what? Should I try and change to rials 3 via RVM?gem install rails will install the latest version of rails in rvm. Note /no/ sudo, because you are using rvm. gem install rails --version a.b.c will install version a.b.c Colin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
See Sebastjan H. i m also new to rails, but a week ago i installed Ubuntu 12.04 for rails development from the link below http://blog.sudobits.com/2012/05/02/how-to-install-ruby-on-rails-in-ubuntu-12-04-lts/ its very good step by step installation process and i have installed from above link i m using => ruby1.9, rails => 3.2.7 On Mon, Aug 13, 2012 at 12:19 AM, Colin Law <clanlaw-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote:> On 12 August 2012 18:36, Sebastjan H. <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote: > > Colin Law wrote in post #1072089: > >> On 12 August 2012 17:29, Sebastjan H. <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote: > >>> > >>> I say trouble, because when I''ve installed with RVM I couldn''t use > them. > >>> The system kept saying unknown command for ruby and rails and it > >>> suggested to install via apt-get install. So I did. Still nothing. Then > >>> I ran the RVM installs again and now everything appears to be in order. > >> > >> You should not have used apt-get if you are using rvm. But since you > >> have now got it working with rvm that is ok. > > > > This was the only way at the time I could get it working. > > > >>> > >>> However (there''s always however with me lately), when I run > >>> "rails new tasks" rails actually generates "new" as the application > >>> folder. And after "cd new" + "rails server" rails generates another > >>> application called "server". > >>> > >>> What can I do? > >> > >> You can use rails 3. The rails command has changed since version 2. > >> The current version of rails is 3.2.8. If you really want to use > >> rails 2 then the guides can be found at > >> http://guides.rubyonrails.org/v2.3.11/ > > > > I don''t want to use rails 2, this was all installed by default as I > > described above. Are these issues related to Ubuntu? Are other > > distributions more aproppriate for RoR? > > Ubuntu is excellent for rails. > > > And finally now what? Should I try and change to rials 3 via RVM? > > gem install rails > will install the latest version of rails in rvm. Note /no/ sudo, > because you are using rvm. > gem install rails --version a.b.c > will install version a.b.c > > Colin > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > 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 post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
ANIKET KADAM wrote in post #1072154:> See Sebastjan H. i m also new to rails, but a week ago i installed > Ubuntu > 12.04 for rails development from the link below > >http://blog.sudobits.com/2012/05/02/how-to-install-ruby-on-rails-in-ubuntu-12-04-lts/> > its very good step by step installation process > > and i have installed from above link > i m using => ruby1.9, rails => 3.2.7I followed the guide you recommended and it works like a charm now. Thank you and kind regards, seba -- 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 post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
This is getting really embarrassing. Today I get the error "bad interpreter" after running the new app command: rails new app bash: /usr/local/bin/rails: /usr/bin/ruby1.8: bad interpreter: No such file or directory. I''ve made no changes since the previous app creation, other than system updates today. Ruby works fine, Rails doesn''t. I''ve uninstalled and re-installed Rails and the error remains. -- 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 post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
On 16 August 2012 22:49, Sebastjan H. <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> This is getting really embarrassing. Today I get the error "bad > interpreter" > after running the new app command: > > rails new app > bash: /usr/local/bin/rails: /usr/bin/ruby1.8: bad interpreter: No such > file or directory. > > I''ve made no changes since the previous app creation, other than system > updates today. > > Ruby works fine, Rails doesn''t. I''ve uninstalled and re-installed Rails > and the error remains.Are you using rvm? If not then I advise that you do. Colin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
which tutorial are you following? On Fri, Aug 17, 2012 at 3:19 AM, Sebastjan H. <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> This is getting really embarrassing. Today I get the error "bad > interpreter" > after running the new app command: > > rails new app > bash: /usr/local/bin/rails: /usr/bin/ruby1.8: bad interpreter: No such > file or directory. > > I''ve made no changes since the previous app creation, other than system > updates today. > > Ruby works fine, Rails doesn''t. I''ve uninstalled and re-installed Rails > and the error remains. > > -- > 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 post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > 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 post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
ANIKET KADAM wrote in post #1072629:> which tutorial are you following?the one you posted from sudobits. If this is regarding my last post which I have already deleted, the bad interpreter error occurs every time I start my computer. If I load the RVM via source ~/.rvm/scripts/rvm then it works. Why doesn''t it load automatically? regards, seba -- 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 post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
On 17 August 2012 12:37, Sebastjan H. <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> ANIKET KADAM wrote in post #1072629: >> which tutorial are you following? > > the one you posted from sudobits. > If this is regarding my last post which I have already deleted, the bad > interpreter error occurs every time I start my computer. If I load the > RVM via > > source ~/.rvm/scripts/rvm > > then it works. Why doesn''t it load automatically?You can''t delete a post on a mailing list (which this is), we have all already received it. Have you followed this instruction from the command rvm notes * If you wish to use RVM in an interactive fashion in other shells then place the following line at the end of your shell''s loading files (.bashrc or .bash_profile for bash and .zshenv for zsh), after all PATH/variable settings: [[ -s "/home/colinl/.rvm/scripts/rvm" ]] && source "/home/colinl/.rvm/scripts/rvm" # This loads RVM into a shell session. Colin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.