Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I used to write some Python, and I know there are a lot of difference between Python 2.x and Python 3.x
Current now, I hope to use some Ruby to write a website (Maybe use Rails), but I am afraid that there will be the same problem in Ruby like Python.
Since I am a newcomer to Ruby, I just wonder what should I learn
Ruby 1.x or Ruby 2.x?
You should use ruby 2.1.1. The difference between Python 2 and 3 is so great that there are major backward compatibility issues. As this is not the case with ruby 1.9 vs 2.X you better start with the most current technology.
Related
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
My goal is 1) to obtain financial data from yahoo api or same kind 2) apply data into my model.
I know some R-programming and very basic shell scripting on linux(I am working on ubuntu).
Since I am not expert on any of those and now I have purpose of learning a language, I want to know what type or kind of language would be good for my goal.
I researched a little and Java, C++, SQL are popular but I don't know why they are.
I like shell scripting style.
Any suggestion?
I would use Python. It works very well cross platform and I have seen some great financial data apps made with it. Also if you are using Ubuntu already Python will help you do more with it. That is the reason I decided to learn Python. I use Python 2.7 but 3.3 should work just as well.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
We have an app in Rails 3.2 that we want to upgrade to Rails 4.0. I have read the various guidelines available on the possible issues like here and here.
I would like to know of some not so common/obvious gotchas that we should be aware of when upgrading to 4.0?
Ones that got me:
CanCan not yet playing nicely with StrongParameters: Ended up using this work-around.
Named Scopes require Procs: Well documented, but still got me. See my issue here.
Turbolinks bypasses document.ready: Good overview here.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
It seems that Red Hat doesn't include software that is made by a company. OpenVPN and MongoDB come to mind. Perl and Python are in RHEL/CentOS. What could be a reason Ruby isn't in RHEL?
Update
RedHat have now announced Red Hat Software Collections 1.0 which exactly addresses this need.
I don't use distribution rubies. It is best to compile them from the latest version or whatever version you use, those packages in the distro repositories are frequently outdated.
Check out RVM or RBENV. I guess why they are not could be interesting, but probably not a question StackOverflow at large is going to like.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I'm new to Ruby and want to write a web service using Ruby. Some constraints are:
Ruby 1.8.7
Windows 2008 Server
I found that the Sinatra gem may help. I want to know if there are any other options beside Sinatra.
Sinatra is a very easy-to-use way to go, and what I'd recommend to get your feet wet.
There are other solutions:
Padrino is built on-top of Sinatra, and offers additional functionality, but for your purposes Sinatra is still a more easily accessible way to go as you'll spend less time configuring.
Rails is the heavy-weight solution for Ruby, but if you are just learning the language then I'd recommend Sinatra still. Rails is very powerful but a lot of things it does will seem like magic, though they are actually based on standard Ruby features. So, I think you are still better off learning Ruby and working with Sinatra to get the basics.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I was trying to install rails and also tried to update gem, but it didn't work out.Tried to google the problem and it says i have older version of ruby which i have to update. I currently have 1.8.6 . Can somebody please help me how to update this version to 1.9?
The best way is to use Ruby Version Manager.
Read the site, there are step-by-step manuals.
I suugest you to go to the terminal and using from rvm.