Ruby on Rails
Monday, October 13, 2014
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 Vulin <darkopmfst@gmail.com> wrote:
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 Vulin napisao je: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--
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@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
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
All material © Jason Fleetwood-Boldt 2014. Public conversations may be turned into blog posts (original poster information will be made anonymous). Email jason@datatravels.com with questions/concerns about this.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment