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
On 13 April 2013 09:22, Love U Ruby [email protected] wrote:
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 L. wrote in post #1105513:
=========================================================================
I just have installed in my windows machine form
railsinstaller.org
.
Now earlier I have already installed in my machine Ruby2.0
. So when I
am trying to run the below command from the command prompt as mentioned
here:
rails s
getting error as :
C:/Ruby200/lib/ruby/2.0.0/rubygems/dependency.rb:296:in `to_specs':
Could not f
nd ‘railties’ (>= 0) among 8 total gem(s) (Gem::LoadError)
from C:/Ruby200/lib/ruby/2.0.0/rubygems/dependency.rb:307:in
to_spec' from C:/Ruby200/lib/ruby/2.0.0/rubygems/core_ext/kernel_gem.rb:47:in
g
m’
from C:/RailsInstaller/Ruby1.9.3/bin/rails:22:in `’
Now if I uninstall the Ruby2.0
things are set. But I want also to be
workable in my pc the latest version of Ruby,so that I can run my
practice ruby programs as I could earlier. - Please instruct me ,so that
I can run my Rails and ruby programs as well from my Sublime Text 2
editor without impact.
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.
Thanks for your advice! I also do have a plan accordingly. Now I am
doing course here - railsforzombies.org
Colin L. wrote in post #1105519:
On 13 April 2013 11:50, Love U Ruby [email protected] wrote:
from C:/RailsInstaller/Ruby1.9.3/bin/rails:22:in `<main>'
Now if I uninstall the Ruby2.0
things are set. But I want also to be
workable in my pc the latest version of Ruby,so that I can run my
practice ruby programs as I could earlier. - Please instruct me ,so that
I can run my Rails and only ruby programs from my Sublime Text 2
editor without impact.
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
Okay! Colin I am with you.
I have Ubuntu 12.10. in my windows machine. Now I have also installed
their 1.9.3. Now I want to completely clean that and reinstall the
latest ruby version with Rails. Can you guide me there to completely
uninstall and fresh install ruby with Rails.
Please!
On 13 April 2013 11:50, Love U Ruby [email protected] wrote:
from C:/RailsInstaller/Ruby1.9.3/bin/rails:22:in `<main>'
Now if I uninstall the Ruby2.0
things are set. But I want also to be
workable in my pc the latest version of Ruby,so that I can run my
practice ruby programs as I could earlier. - Please instruct me ,so that
I can run my Rails and only ruby programs from my Sublime Text 2
editor without impact.
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
On 13 April 2013 12:13, Love U Ruby [email protected] wrote:
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
Colin L. wrote in post #1105523:
On 13 April 2013 12:13, Love U Ruby [email protected] wrote:
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
On Apr 13, 2013, at 8:55 AM, Love U Ruby wrote:
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
Walter D. wrote in post #1105535:
On Apr 13, 2013, at 8:55 AM, Love U Ruby wrote:
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?
On 13 April 2013 13:55, Love U Ruby [email protected] wrote:
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
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
Thanks
Venkat
On 13 April 2013 16:17, Love U Ruby [email protected] wrote:
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
On 15 April 2013 07:02, Brahmaji V. [email protected] wrote:
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