When you need to update ruby gems and it says there’s nothing to update,
instead of gem update –system, you need first install rubygems-update then update
Code:
gem install rubygems-update | |
update_rubygems |
Rake is a general-purpose command-runner that Rails uses for many things. You can see the list of available rake commands in your application by running rake -T.
If you want to install plugins in your rails application, you can simply do:
./script/plugin install [SOURCE]
Code:
ruby script/destroy model Employee |
When you get the error below while installing or upgrading rails to a newer version
Code:
/script/../config/boot.rb:26:Warning: Gem::SourceIndex#search support for String patterns is deprecated |
Make sure that your RAILS_GEM_VERSION in environment.rb matches rails version.
:: Next Page >>
| Next >
| Sun | Mon | Tue | Wed | Thu | Fri | Sat |
|---|---|---|---|---|---|---|
| << < | > >> | |||||
| 1 | 2 | 3 | 4 | |||
| 5 | 6 | 7 | 8 | 9 | 10 | 11 |
| 12 | 13 | 14 | 15 | 16 | 17 | 18 |
| 19 | 20 | 21 | 22 | 23 | 24 | 25 |
| 26 | 27 | 28 | 29 | 30 | 31 | |