I am on win7. I installed ruby 2.0.0 but I don’t know how tu install
rails
4.0.8.
I need this enviroment for Ruby on Rails tutorial. Thank’s
Before I used Rails instaler for windows but than I got ruby 1.9.3 and
rails 4.1.1.
Dana petak, 10. listopada 2014. 11:42:21 UTC+2, korisnik Darko V.
napisao je:
I typed the command gem install rails -v 4.0.8 and after I typed rails
-v and
I got answer rails 4.1.6
But, when I start RubyGems Documentacion server I see that I have
rails
4.0.8 Full-stack web application framework.
But also I have railties 4.0.8 Tools for creating, working with, and
running Rails applications. And* railties 4.1.6* Tools for creating,
working with, and running Rails applications.Executable is rails.
I need rails 4.0.8, not 4.1.6. Thanks
Dana petak, 10. listopada 2014. 11:42:21 UTC+2, korisnik Darko V.
napisao je:
On 13 October 2014 21:46, Darko V. [email protected] wrote:
I am on win7. I installed ruby 2.0.0 but I don’t know how tu install rails
4.0.8.
I need this enviroment for Ruby on Rails tutorial. Thank’s
I can’t help as I don’t use Windows, but I thought I should explain
why you have had no replies. Few people use Windows for Rails
development, it is nearly always Linux (eg Ubuntu) or Mac. I believe
it is possible on Win but you will certainly find it much more
difficult to get help. I always recommend using Ubuntu, either dual
booting the PC or by running it in a Virtual Machine (using VirtualBox
or VMWare for example).
Colin
You can’t actually just specify an older version Rails when doing rails
new, you need to uninstall & reinstall the whole gem itself. (or use RVM
to create yourself a custom gemset, but that’s beyond the scope of this
answer)
you have to uninstall the rails gem (be sure to do it globally) and then
install the rails gem specifying the version you want
something like:
sudo gem uninstall rails
sudo gem install rails -v 4.0.8
+1 to what Colin said, either get a Mac or virtualize Ubuntu inside that
nasty wintel machine
(kidding, totally kidding, some of my best friends use Windows. But not
for Rails development.)
On Oct 13, 2014, at 4:46 PM, Darko V. [email protected] wrote:
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/rubyonrails-talk/b3703fe9-eebd-45d1-af33-47cb44aa55d1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Jason Fleetwood-Boldt
[email protected]
All material Jason Fleetwood-Boldt 2014. Public conversations may be
turned into blog posts (original poster information will be made
anonymous). Email [email protected] with questions/concerns about
this.
You just need to specify wanted rails version in the command, rails
4.0.8
new appname
This works at least on ubuntu and mac.
Jarmo,
Holy crap. Is that documented?!?
That actually works for me, using the underscores just like you said.
-Jason
On Oct 14, 2014, at 3:59 AM, Jarmo I. [email protected] wrote:
You just need to specify wanted rails version in the command, rails 4.0.8 new
appname
This works at least on ubuntu and mac.
Jason Fleetwood-Boldt
[email protected]
All material Jason Fleetwood-Boldt 2014. Public conversations may be
turned into blog posts (original poster information will be made
anonymous). Email [email protected] with questions/concerns about
this.
I can’t find it in the Rails guides and it’s not in the manual page for
rails new (rails new -h).
Thanks for telling us! I’ve been telling people to gem uninstall & gem
install for years.
-Jason
On Oct 14, 2014, at 10:54 AM, Jarmo I. [email protected] wrote:
Not sure, I may have picked it from rails source…
Ill take a closer look to the documentation later today to see if/where its
hidden (unless someone does it earlier…)-Jarmo
Jason Fleetwood-Boldt
[email protected]
All material Jason Fleetwood-Boldt 2014. Public conversations may be
turned into blog posts (original poster information will be made
anonymous). Email [email protected] with questions/concerns about
this.
2014-10-14 16:49 GMT+02:00 Jason Fleetwood-Boldt [email protected]:
Jarmo,
Holy crap. Is that documented?!?
Yapp!
But thats not rails but rubygems behaviour.
Documentation is hidden inside the documentation for “gem install”:
Read the last paragraph in the description, right above “Gem Dependency
Files”
Not sure, I may have picked it from rails source…
Ill take a closer look to the documentation later today to see if/where
its
hidden (unless someone does it earlier…)
-Jarmo
On Tue, Oct 14, 2014 at 4:49 PM, Jason Fleetwood-Boldt
<[email protected]