環境問題から考えるRails入門

2,134 views

Published on

Ruby on Rails 3を始めるにあたって必要な、環境に関するトピックを整理しました。
内容は、下北沢オープンソースカフェ Jelly 3.0で公開したものですが、質疑応答部分を少し追加しています。

Published in: Technology
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,134
On SlideShare
0
From Embeds
0
Number of Embeds
5
Actions
Shares
0
Downloads
18
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • 環境問題から考えるRails入門

    1. 1. 1
    2. 2. 2
    3. 3. 3
    4. 4. 4
    5. 5. 5
    6. 6. 6
    7. 7. 7
    8. 8. 8
    9. 9. 9
    10. 10. 10
    11. 11. 11
    12. 12. 12
    13. 13. 13
    14. 14. 14
    15. 15. ruby ruby 1.9.2-p180 1.8.7-p333 gemset gemset gemset gemset @rails305 @rails306 @rails239 @rails126 rubygemset( gem) 15
    16. 16. 16
    17. 17. 17
    18. 18. 18
    19. 19. source http://rubygems.orggem rails, 3.0.7...gem ‘pg’...group :development, :test do gem ‘rspec-rails’ gem ‘jquery-rails’end 19
    20. 20. 20
    21. 21. Usage: rails COMMAND [ARGS]The most common rails commands are: generate Generate new code (short-cut alias: "g") console Start the Rails console (short-cut alias: "c") server Start the Rails server (short-cut alias: "s") dbconsole Start a console for the database specified in config/database.yml (short-cut alias: "db") new Create a new Rails application. "rails new my_app" creates a new application called MyApp in "./my_app"In addition to those, there are: application Generate the Rails application code destroy Undo code generated with "generate" benchmarker See how fast a piece of code runs profiler Get profile information from a piece of code plugin Install a plugin runner Run a piece of code in the application environment 21
    22. 22. 22
    23. 23. 23
    24. 24. [ ] Rails3 β -http://d.hatena.ne.jp/tatsu-zine/20110204/1296792719 [ ] Ruby on Rails 3.0 - Ruby on Rails with OIAX http://www.oiax.jp/rails/rails3.html [ ] Ruby on Rails Guides http://guides.rubyonrails.org/ Rails 3 in a Nutshell http://rails-nutshell.labs.oreilly.com/ [ ] Railscasts - Free Ruby on Rails Screencasts http://railscasts.com/ Rails Searchable API Doc http://railsapi.com/ 24
    25. 25. 25
    26. 26. 26
    27. 27. 27
    28. 28. 28

    ×