As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
There are many IDE's available today for the Ruby on Rails application development. I am somewhat confused after reading that which IDE should I use for ubuntu at present. The articles are older then a year now which gives the IDE information to use for. At work I am using eclipse IDE which is working well for now. But at home, I am thinking if there is anything better to use which is more friendly and easy for development now.
Let's say if you're not familiar with ancient editors like emac or vim. You can try Sublime Text 2
I would vote for vim with plugins that work perfectly with rails:
1- vim-rails : Which is really great with rails projects. Allows you to navigate pretty quickly between views, controllers and models. Using rakes and rails generators within vim itself. https://github.com/tpope/vim-rails
2- NERDTree : for folders and files. https://github.com/scrooloose/nerdtree
3- Fugitive if you are using git this is a really awesome plugin. https://github.com/tpope/vim-fugitive
The beautiful thing about vim is that you can customise it as you like. You could add ruby autocomplete and exuberant ctags (http://ctags.sourceforge.net/) to quickly navigate between functions.
Vim has a steep learning curve but once you get used to it, it will add up huge benefit. Vimcasts is a great source to learn it. http://vimcasts.org/
Related
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I recently switched to a Mac. I am trying to choose between Textmate 1.5 and Sublime Text 2 for Ruby on Rails development. I know these editors have a great deal in common from my own testing. I don't however see many differences as of yet. If you have experiance with both, can you please make a list of the differences between the two?
Please make any list without subjective comments as I'm not looking to start a flame war; only factual differences. There are many resources that list similarities -- please focus on the differences.
Thank you.
I come form Vim and try both TextMate 2 and Sublime Text 2 for a while. I like them both, but for different reasons.
I'm pretty sure you can make TextMate 2 act almost like Sublime Text 2 by plugins and setting, or vice versa. And they both have tons of gorgeous themes/plugins/snippets. So I just try to list the 'out of box' and potentials difference between them.
TM2:
Open source
Fine integrate with rails just out of box.
Switching between files with hotkey follow rails conventions.
Can move project list to the left.
Install plugin and adjust setting by GUI.
Run rails test in text editor out of box.
More build-in wrapping features.
Complete word by [esc] and add snippet by [Tab]
ST2:
Cross plateform
Ability to imitate some Vim behaviors.
Adjust setting by editing a json file. Less intuitive for GUI user, but can source control and transfer it easily.
Switching between files by Ctrl-P out of box.
Complete word and add snippet all by [Tab]
A 3rd party nice package manager.
Please correct me if any error or missing stuffs. And I think the best way is try them both for couple weeks, know the possibility and tune one of them upon your favorite work flow.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I am very new to Ruby and Rails, so if this is a dumb question, please bear with me.
The ideas that Ruby adopted are not so new and revolutionary. Functional programming, dynamic typing and meta-programming, they exist in other languages as well.
Then why did Rails chose Ruby, but not Python, Scheme, JavaScript or any other language?
What features of Ruby helped Rails to prosper?
There's this keynote by DHH which is somewhat related.
And here's an interview with Jason Fried, which touches this question.
Jason: Ruby on Rails is the open source web application framework we extracted from Basecamp. When we built Basecamp we didn't know we were building Rails at the same time, but that's exactly how it happened. Basecamp came first; Rails was born from Basecamp. Basecamp was the divine chicken, Rails was the egg.
I had some natural hesitation about using Ruby at first ("What the ##!* is Ruby?" "Why don't we just use PHP--it served us well before?"), but David Heinemeier Hansson, the first engineer on the Basecamp project, cogently made the case and I bought it. I'm thrilled with the results.
I think it's apparent that David's strong preference for using Ruby in his projects was the key.
Here's a similar question, with plenty of discussion: https://softwareengineering.stackexchange.com/questions/99192/why-was-rails-written-in-ruby
Also, check out this podcast with David Heinemeier Hansson that talks about his inspiration for RoR: http://thisdeveloperslife.com/post/1-0-5-homerun
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
i used PHP for my web development, until recently when i started using python framework Django, i enjoy the experience,
but had a chat with my friend and he started saying this and that about me switching to Rail, even with all
my effort trying to explain to him that the are vitually alike he kept echoing rails.
If anyone is actually better than the other, please that i will like to know
Thanks.
It depends on your projects. Rails has a bigger community IMHO, great screencasts. Django has great stuff out of the box. Whereas rails has gems for every task you require and they are always changing (which is good and bad; might be hard to keep up)
Django has an out of the box administration panel and a great templating library.
You can use python egg as far as I know, and other python libraries.
I'd give Django a go first to so as to finish something, but then in the long run using Rails could be of benefit.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
Netbeans was my choice for Rails development in Windows and Linux (Ubuntu/Fedora). Now I am using a Mac. I had heard good things about TextMate, but now that I have got a change to use it I don't think it is a better alternative to what I was using. Or am I missing something here?
TextMate has traditionally been preferred on the Mac because it's what the Rails core team themselves used and DHH even helped Allan Odgaard with some of the early TextMate development work. In the early days of Rails there was an argument to be made that pure text editors such as TextMate were preferred over heavyweight full-blown IDEs, because the dynamic nature of Ruby meant that IDEs weren't able to offer the full range of benefits (such as code completion) as they can for languages such as Java. Several years later and with advancements in IDE technology for dynamic languages, that's not really the case any more.
The bottom line is that you don't have to use TextMate for Rails development on a Mac. It doesn't even have a monopoly amongst the Rails core team any more, as some of them use Vim (for example). You should use what works for you.
I too had been using Netbeans for my rails development - nothing stopping you from continuing using it though. Netbeans support is still good on OSX (although Oracle stopping support for the rails development plugin will eventually cause you a bit of a problem).
I wouldn't say TextMate is the only option though, after asking around with my local rails developers - I found that rubymine was actually pretty popular. I tried it out, and have been really happy with it so far, and I had no problems switching over from Netbeans... Although I still am learning all the shortcuts.
As John Topley already mentioned - use what works for you.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Which open source ruby or ruby on rails projects do you contribute to regularly?
Sinatra and Rack are two of my favorite projects, since they're both relatively young, meaning they have much good work to be done.
If you're looking to contribute to projects, also see my GitHub profile, since I'm always looking for patches. :)
I work on Redmine and it's plugins a lot. I'm going to be getting into Sinatra soon, it's a really good framework for creating a simple web app.
I have contributed to RSpec.
I work on rboard, a forum system built for the latest versions of Rails and actively maintained. I also occasionally commit to the documentation for Rails itself too.
I'm also looking for patches on rboard, there's a large TODO.html file in there.
Found this - 23 open source Ruby on Rails applications