Hi, I just completed Ruby learning and did complete some exercise also on it. Now want to learn Ruby on Rails also.So what would be the good approach or from where to start,to learn it quickly and conceptually. I also had installed also Ruby as mentioned in this url : https://gist.github.com/pcjpcj2/5443017 ********************************************************** sudo apt-get -y install build-essential openssl libreadline6 libreadline6-dev curl git-core \ zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev \ libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison && \curl -L https://get.rvm.io | bash -s stable --rails --autolibs=enabled && echo ''[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function'' >> ~/.bash_profile && source ~/.bash_profile && rvm install 2.0.0-p0 && rvm use --default 2.0.0-p0 && ruby -v && gem install rails --pre *************************************************** So now what more I need to do for Rails installations? So please help me to get a good start with ROR. -- 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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
On 15 May 2013 15:34, Love U Ruby <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Hi, > > I just completed Ruby learning and did complete some exercise also on > it. Now want to learn Ruby on Rails also.So what would be the good > approach or from where to start,to learn it quickly and conceptually.Have a look at railstutorial.org (which is free to use online) and the Rails Guides. Colin> > I also had installed also Ruby as mentioned in this url : > https://gist.github.com/pcjpcj2/5443017 > > ********************************************************** > sudo apt-get -y install build-essential openssl libreadline6 > libreadline6-dev curl git-core \ > zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-0 libsqlite3-dev > sqlite3 libxml2-dev \ > libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison > > && > > \curl -L https://get.rvm.io | bash -s stable --rails --autolibs=enabled > > && > > echo ''[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # > Load RVM function'' >> ~/.bash_profile > > && > > source ~/.bash_profile > > && > > rvm install 2.0.0-p0 > > && > > rvm use --default 2.0.0-p0 > > && > ruby -v > > > && > > > gem install rails --pre > *************************************************** > > So now what more I need to do for Rails installations? > > So please help me to get a good start with ROR. > > -- > 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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To post to this group, send email to rubyonrails-talk-/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 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 For more options, visit https://groups.google.com/groups/opt_out.
Love U Ruby wrote in post #1109081:> Hi, > > I just completed Ruby learning and did complete some exercise also on > it. Now want to learn Ruby on Rails also.So what would be the good > approach or from where to start,to learn it quickly and conceptually.Excellent, and welcome. Start with the official Rails guides, which I think are excellently written: http://guides.rubyonrails.org/index.html http://edgeguides.rubyonrails.org (if you''re living on the edge) Then move on to one of these great tutorials: http://railsforzombies.org http://ruby.railstutorial.org -- 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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
Which tutorial/resource do you used? On Wed, May 15, 2013 at 11:52 AM, Robert Walker <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>wrote:> Love U Ruby wrote in post #1109081: > > Hi, > > > > I just completed Ruby learning and did complete some exercise also on > > it. Now want to learn Ruby on Rails also.So what would be the good > > approach or from where to start,to learn it quickly and conceptually. > > Excellent, and welcome. > > Start with the official Rails guides, which I think are excellently > written: > > http://guides.rubyonrails.org/index.html > http://edgeguides.rubyonrails.org (if you''re living on the edge) > > Then move on to one of these great tutorials: > > http://railsforzombies.org > http://ruby.railstutorial.org > > -- > 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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To post to this group, send email to rubyonrails-talk-/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 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 For more options, visit https://groups.google.com/groups/opt_out.
Robert Walker wrote in post #1109090:> > Start with the official Rails guides, which I think are excellently > written: > > http://guides.rubyonrails.org/index.html > http://edgeguides.rubyonrails.org (if you''re living on the edge) > > Then move on to one of these great tutorials: > > http://railsforzombies.org > http://ruby.railstutorial.orgThanks for the guidance. Could you help me to install Rail also? What are the things I need to install for it. I have installed Ruby2.0.0 using RVM as I mentioned at the top. -- 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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
On 15 May 2013 17:55, Love U Ruby <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Robert Walker wrote in post #1109090: > >> >> Start with the official Rails guides, which I think are excellently >> written: >> >> http://guides.rubyonrails.org/index.html >> http://edgeguides.rubyonrails.org (if you''re living on the edge) >> >> Then move on to one of these great tutorials: >> >> http://railsforzombies.org >> http://ruby.railstutorial.org > > Thanks for the guidance. Could you help me to install Rail also? What > are the things I need to install for it. I have installed Ruby2.0.0 > using RVM as I mentioned at the top.I think you have installed it when you installed rvm (--rails). Try rails -v in a terminal. 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 For more options, visit https://groups.google.com/groups/opt_out.
Colin Law wrote in post #1109117:> On 15 May 2013 17:55, Love U Ruby <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> > I think you have installed it when you installed rvm (--rails). Try > rails -v > in a terminal. > > Colin============kirti@kirti-Aspire-5733Z:~$ rvm -v rvm 1.19.6 (stable) by Wayne E. Seguin <wayneeseguin-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>, Michal Papis <mpapis-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> [https://rvm.io/] kirti@kirti-Aspire-5733Z:~$ ruby -v ruby 2.0.0p0 (2013-02-24 revision 39474) [i686-linux] kirti@kirti-Aspire-5733Z:~$ rails -v The program ''rails'' can be found in the following packages: * rails * ruby-railties-3.2 Try: sudo apt-get install <selected package> kirti@kirti-Aspire-5733Z:~$ -- 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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
On Wed, May 15, 2013 at 9:55 AM, Love U Ruby <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Thanks for the guidance. Could you help me to install Rail also?Try `gem install rails` -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org http://about.me/hassanschroeder twitter: @hassan -- 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 For more options, visit https://groups.google.com/groups/opt_out.
Hassan Schroeder wrote in post #1109119:> On Wed, May 15, 2013 at 9:55 AM, Love U Ruby <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> > wrote: > >> Thanks for the guidance. Could you help me to install Rail also? > > Try `gem install rails` > > -- > Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > http://about.me/hassanschroeder > twitter: @hassanI used RVM to install Ruby. I think I should use also use `RVM` to install Rails. Is it? what the database I need to install also? I am using SublimeText2 editor for my Ruby programs. Thanks -- 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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
On 16 May 2013 08:13, Love U Ruby <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Hassan Schroeder wrote in post #1109119: >> On Wed, May 15, 2013 at 9:55 AM, Love U Ruby <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> >> wrote: >> >>> Thanks for the guidance. Could you help me to install Rail also? >> >> Try `gem install rails` >> >> -- >> Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org >> http://about.me/hassanschroeder >> twitter: @hassan > > I used RVM to install Ruby. I think I should use also use `RVM` to > install Rails. Is it? what the database I need to install also?Once you have installed rvm then gem install will install into the rvm environment. So gem install rails should do what you want. If you want a particular version then, for example gem install rails --version 2.3.2 To install a different version of Ruby (should you wish to do so) then, for example rvm install 1.9.2 and to use it rvm use 1.9.2> > I am using SublimeText2 editor for my Ruby programs.What has that got to do with installing Rails? 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 For more options, visit https://groups.google.com/groups/opt_out.
Colin Law wrote in post #1109163:> On 16 May 2013 08:13, Love U Ruby <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote: >>> http://about.me/hassanschroeder >>> twitter: @hassanWhen I was on windows, I used the tutorial : http://railsinstaller.org/ . Here I did install Ruby,Rails,MSSQL and SublimeText2 editor - a total package for rails programming. Looking for the same way to do in my Unix.>> I am using SublimeText2 editor for my Ruby programs. > > What has that got to do with installing Rails? > > Colin-- 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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
https://github.com/joshfng/railsready -- Dheeraj Kumar On Thursday 16 May 2013 at 2:02 PM, Love U Ruby wrote:> Colin Law wrote in post #1109163: > > On 16 May 2013 08:13, Love U Ruby <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org (mailto:lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org)> wrote: > > > > http://about.me/hassanschroeder > > > > twitter: @hassan > > > > > > > > > > > > > > When I was on windows, I used the tutorial : http://railsinstaller.org/ > . > Here I did install Ruby,Rails,MSSQL and SublimeText2 editor - a total > package for rails programming. > > Looking for the same way to do in my Unix. > > > > I am using SublimeText2 editor for my Ruby programs. > > > > What has that got to do with installing Rails? > > > > Colin > > -- > 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+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org (mailto:rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org). > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org (mailto:rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@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 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 For more options, visit https://groups.google.com/groups/opt_out.
On Thu, May 16, 2013 at 12:13 AM, Love U Ruby <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> I used RVM to install Ruby. I think I should use also use `RVM` to > install Rails. Is it?No matter, `gem install rails` is how you''re going to install it. You should create a gemset for your project first (IMO, one of the best features of rvm).> what the database I need to install also?Whatever you want, or are most familiar with, or is easiest :-) SQLite3 is the default, MySQL is probably most widely used, and some people prefer Postgres. For learning purposes, I''d go with one of the first two. HTH, -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org http://about.me/hassanschroeder twitter: @hassan -- 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 For more options, visit https://groups.google.com/groups/opt_out.
Hassan Schroeder wrote in post #1109188:> On Thu, May 16, 2013 at 12:13 AM, Love U Ruby <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> > wrote: >> > Whatever you want, or are most familiar with, or is easiest :-) > > SQLite3 is the default, MySQL is probably most widely used, and > some people prefer Postgres. For learning purposes, I''d go with one > of the first two.Shall I need to install using `gem install SQLite3` ? -- 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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
On Thu, May 16, 2013 at 6:03 AM, Love U Ruby <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Shall I need to install using `gem install SQLite3` ?You need to install the database of your choice; that has nothing to do with Rails per se''. Then when you generate your new app, you specify the db and the generated Gemfile will have the appropriate gems, all of which will be (by default) installed for you. See `rails new --help` -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org http://about.me/hassanschroeder twitter: @hassan -- 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 For more options, visit https://groups.google.com/groups/opt_out.
On 16 May 2013 14:03, Love U Ruby <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Hassan Schroeder wrote in post #1109188: >> On Thu, May 16, 2013 at 12:13 AM, Love U Ruby <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> >> wrote: >> > >> >> Whatever you want, or are most familiar with, or is easiest :-) >> >> SQLite3 is the default, MySQL is probably most widely used, and >> some people prefer Postgres. For learning purposes, I''d go with one >> of the first two. > > > Shall I need to install using `gem install SQLite3` ?No, you have already installed the sqlite3 db driver (in the apt-get install in your first post). The gem itself will be automatically installed when you run bundle install. I suggest working right through a good tutorial such as railstutorial.org (which is free to use online) and you will learn about the basics of rails including how gems are automatically installed based on the contents of your Gemfile. 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 For more options, visit https://groups.google.com/groups/opt_out.
Colin Law wrote in post #1109117:> On 15 May 2013 17:55, Love U Ruby <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> > I think you have installed it when you installed rvm (--rails). Try > rails -v > in a terminal. > > Colinthen why I got the error: kirti@kirti-Aspire-5733Z:~$ rails -v The program ''rails'' can be found in the following packages: * rails * ruby-railties-3.2 Try: sudo apt-get install <selected package> :( :( -- 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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
On 16 May 2013 18:50, Love U Ruby <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Colin Law wrote in post #1109117: >> On 15 May 2013 17:55, Love U Ruby <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote: > >> >> I think you have installed it when you installed rvm (--rails). Try >> rails -v >> in a terminal. >> >> Colin > > then why I got the error:I did say I /think/ you have installed it. Obviously you have not. What happens when you install it, as has been suggested numerous times on the this thread, by gem install rails Colin> > kirti@kirti-Aspire-5733Z:~$ rails -v > The program ''rails'' can be found in the following packages: > * rails > * ruby-railties-3.2 > Try: sudo apt-get install <selected package> > > :( :( > > -- > 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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To post to this group, send email to rubyonrails-talk-/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 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 For more options, visit https://groups.google.com/groups/opt_out.
Colin Law wrote in post #1109259:> On 16 May 2013 18:50, Love U Ruby <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote: >> then why I got the error: > I did say I /think/ you have installed it. Obviously you have not. > What happens when you install it, as has been suggested numerous times > on the this thread, by > gem install rails > > Colinwhich version of rail I need to install, as I am using ruby2.0.0p0 ? -- 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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
On 16 May 2013 21:35, Love U Ruby <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Colin Law wrote in post #1109259: >> On 16 May 2013 18:50, Love U Ruby <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote: >>> then why I got the error: >> I did say I /think/ you have installed it. Obviously you have not. >> What happens when you install it, as has been suggested numerous times >> on the this thread, by >> gem install rails >> >> Colin > > which version of rail I need to install, as I am using ruby2.0.0p0 ?You should not choose the version of Rails that is right for Ruby, you should decide which version of Rails you want then make sure you have an appropriate version of Ruby. Remember that with rvm you can easily install another version of ruby. Also you can install multiple versions of Rails. Assuming that you are starting by working through a tutorial then install the version of rails that the tutorial requires. When you come to writing your own app then presumably you will want the latest stable version, or perhaps you want to go with the beta version of Rails 4. That is for you to decide. 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 For more options, visit https://groups.google.com/groups/opt_out.
On Thursday, May 16, 2013 4:41:01 PM UTC-4, Colin Law wrote:> > On 16 May 2013 21:35, Love U Ruby <li...-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org <javascript:>> > wrote: > > Colin Law wrote in post #1109259: > >> On 16 May 2013 18:50, Love U Ruby <li...-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org <javascript:>> > wrote: > >>> then why I got the error: > >> I did say I /think/ you have installed it. Obviously you have not. > >> What happens when you install it, as has been suggested numerous times > >> on the this thread, by > >> gem install rails > >> > >> Colin > > > > which version of rail I need to install, as I am using ruby2.0.0p0 ? > > You should not choose the version of Rails that is right for Ruby, you > should decide which version of Rails you want then make sure you have > an appropriate version of Ruby. Remember that with rvm you can easily > install another version of ruby. Also you can install multiple > versions of Rails. > > Assuming that you are starting by working through a tutorial then > install the version of rails that the tutorial requires. > > When you come to writing your own app then presumably you will want > the latest stable version, or perhaps you want to go with the beta > version of Rails 4. That is for you to decide. > > Colin >I''m a little confused by these posts as well. If you executed the script you posted in your original post without any errors, rails should have been installed. Obviously, you either didn''t do that or there were errors. There are a few things in that script that are not, IMO, optimal. First, I would not install rails with the --pre flag unless you are experienced with Rails and truly intend to test an unreleased version. Second, his/her first action is to install a bunch of modules starting with build-essential, openssl, etc. My only issue is that RVM, like Rails, is constantly being updated/upgraded and this list quickly gets dated. I would install RVM as follows: Install curl as follows: sudo apt-get install curl Then install RVM: \curl -L https://get.rvm.io | bash -s stable Once RVM is installed, run: rvm requirements it will give you an updated list of modules to install. I would also run rvm notes it will give you other helpful notes on the install. At this point, as has already been posted above, I strongly recommend www.railstutorial.org. The tutorial assumes you have RVM installed already, but it then walks you through the installation of ruby, rails, git, etc. so I''m not going to go into it. There are two versions of the tutorial online, a 3.2 version and a 4.0 version (the 4.0 version is beta). I agree with Colin, you should choose the version of ruby, rails, and gems that the tutorial uses. This is particularly important with the 3.2 version. If you don''t use the versions of rspec and capybara that the tutorial uses, you will be very frustrated. -- 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/a026b041-3438-4f53-8646-73d443ff5f3e%40googlegroups.com?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out.
mike wrote in post #1109317:> On Thursday, May 16, 2013 4:41:01 PM UTC-4, Colin Law wrote:> constantly being updated/upgraded and this list quickly gets dated. I > would install RVM as follows: > > Install curl as follows: > > sudo apt-get install curl > > Then install RVM: > > \curl -L https://get.rvm.io | bash -s stable > > Once RVM is installed, run: > > rvm requirements > > it will give you an updated list of modules to install. > > I would also run > > rvm notesThanks for your guidance. Now could You tell me should I need to remove all that I have already installed,and follow the tutorial? If so then how to clear/reset all that I did till now? -- 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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
On 17 May 2013 14:00, Love U Ruby <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> mike wrote in post #1109317: >> On Thursday, May 16, 2013 4:41:01 PM UTC-4, Colin Law wrote: > > >> constantly being updated/upgraded and this list quickly gets dated. I >> would install RVM as follows: >> >> Install curl as follows: >> >> sudo apt-get install curl >> >> Then install RVM: >> >> \curl -L https://get.rvm.io | bash -s stable >> >> Once RVM is installed, run: >> >> rvm requirements >> >> it will give you an updated list of modules to install. >> >> I would also run >> >> rvm notes > > > Thanks for your guidance. Now could You tell me should I need to remove > all that I have already installed,and follow the tutorial? If so then > how to clear/reset all that I did till now?No need to start again, just carry on. Have you managed to install Rails yet? You seem to do a lot of asking questions and not much of actually doing anything. 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 For more options, visit https://groups.google.com/groups/opt_out.