Ruby on Rails installation

I am new to Ruby on Rails. I just installed the ROR taking reference from here - http://railsinstaller.org/

Now I am set with the installation. But I will do here lot's of home practices. Now my question is - Does it really need to complete the final step mentioned in the link - http://railsinstaller.org/windows ?

If I don't perform that step, will my all program run as expected?

thanks

I am new to Ruby on Rails. I just installed the ROR taking reference from here - http://railsinstaller.org/

Now I am set with the installation. But I will do here lot's of home practices. Now my question is - Does it really need to complete the final step mentioned in the link - http://railsinstaller.org/windows ?

If you mean committing the project to github (it would have saved me having to follow the link to find out what the "final step" is if you had told us what it is) then no, you do not need to do that.

I would mention, however, that most rails developers use Linux (eg Ubuntu) or Mac. I understand that it is possible under windows but you may find it difficult getting help as most here do not use windows. I advise setting up the PC to dual boot Ubuntu and Windows, but it is also possible to run Ubuntu in a virtual machine inside windows using virtualbox or vmware.

I suggest working right through a good tutorial such as railstutorial.org, which is free to use online. That will show you the basics of Rails. Also look at the Rails Guides.

Colin

Colin Law wrote in post #1105513:

If you were using Linux I would recommend using rvm or rbenv to manage your ruby versions but since you are using Windows I have no idea how to do that. Sorry.

Colin

Colin Law wrote in post #1105519:

Have a look at rbenv and rvm and decide which you like best. I think you will find instructions for installing on their websites.

Colin

Colin Law wrote in post #1105523:

latest ruby version with Rails. Can you guide me there to completely uninstall and fresh install ruby with Rails.

Have a look at rbenv and rvm and decide which you like best. I think you will find instructions for installing on their websites.

Colin

Thanks for your continuous help.

from the link : RVM: Ruby Version Manager - Installing RVM

I ran the command :

$ \curl -#L https://get.rvm.io | bash -s stable --autolibs=3 --ruby

Now to install rail.

should I need to run the full command below?

$ \curl -L https://get.rvm.io | bash -s stable --autolibs=3 --rails

Ideally you should have run that in the first place rather than the one you ran (which just installs rvm with ruby). To now install rails you can just do, I think

gem install rails or if you want a particular version gem install rails --version n.n.n

Note, do not use sudo when installing gems within rvm.

The full set of packages that I found I needed when using rails and rvm was sudo apt-get install build-essential bison openssl libreadline6 libreadline6-dev curl git-core \ zlib1g zlib1g-dev libssl-dev libyaml-dev libxml2-dev autoconf libc6-dev ncurses-dev automake \ libtool with additionally, for mysql sudo apt-get install libmysqlclient-dev or for sqlite sudo apt-get install libsqlite3-dev sqlite3

Colin

No, this is a shortcut to install rvm, ruby, and rails in one step. If you ran the first one, then you can install Rails the "normal" way with gem install rails. Note that in rvm, you never use sudo to install gems. If you are following a tutorial that doesn't mention rvm and does mention sudo, do yourself a favor and mentally strike out that sudo part.

Walter

Walter Davis wrote in post #1105535:

Walter Davis wrote in post #1105535:

should I need to run the full command below?

$ \curl -L https://get.rvm.io | bash -s stable --autolibs=3 --rails

No, this is a shortcut to install rvm, ruby, and rails in one step. If you ran the first one, then you can install Rails the "normal" way with gem install rails. Note that in rvm, you never use sudo to install gems. If you are following a tutorial that doesn't mention rvm and does mention sudo, do yourself a favor and mentally strike out that sudo part.

Walter

Will the above command work to install both ruby and rail?

Yes, but you have already installed ruby inside rvm by the command you ran previously: $ \curl -#L https://get.rvm.io | bash -s stable --autolibs=3 --ruby

If you want to install a different version of Ruby then use something like rvm install 1.8.7 rvm use 1.8.7

However I think maybe you would benefit from studying the rvm documentation.

Colin

Hi All,

I verey new to Ruby on Rails and am using windows xp 32 bit so any one can explain how to install ruby on rails in windows xp machine

My advise is not to use Windows, but use Linux (eg Ubuntu) or Mac instead. If you absolutely must use Windows then have a look at railsinstaller.org. You will find it much more difficult to get help if you are using Linux or Mac however.

Once you have it installed then work right through a tutorial such as railstutorial.org, which is free to use online.

Colin