Skip to content

Commit 0080a88

Browse files
committed
[ci skip] Don’t encourage sudo gem install
I think we are better off leaving `sudo` outside of the documented way of installing gems (`activerecord`, `actionpack`, …). We don’t want newbies to think that `sudo` is required or, even worse, than they actually have to type `[sudo] gem install`. In most scenarios, `sudo` is not needed to install gems, and people who do need it, probably already know about it. What do you think? 😁
1 parent e99d909 commit 0080a88

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

actionmailer/README.rdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ The Base class has the full list of configuration options. Here's an example:
146146

147147
The latest version of Action Mailer can be installed with RubyGems:
148148

149-
% [sudo] gem install actionmailer
149+
% gem install actionmailer
150150

151151
Source code can be downloaded as part of the Rails project on GitHub
152152

actionpack/README.rdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ can be used outside of Rails.
2828

2929
The latest version of Action Pack can be installed with RubyGems:
3030

31-
% [sudo] gem install actionpack
31+
% gem install actionpack
3232

3333
Source code can be downloaded as part of the Rails project on GitHub
3434

actionview/README.rdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ used to inline short Ruby snippets inside HTML), and XML Builder.
99

1010
The latest version of Action View can be installed with RubyGems:
1111

12-
% [sudo] gem install actionview
12+
% gem install actionview
1313

1414
Source code can be downloaded as part of the Rails project on GitHub
1515

activejob/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ see the API Documentation for [ActiveJob::QueueAdapters](http://api.rubyonrails.
102102
The latest version of Active Job can be installed with RubyGems:
103103

104104
```
105-
% [sudo] gem install activejob
105+
% gem install activejob
106106
```
107107

108108
Source code can be downloaded as part of the Rails project on GitHub

activemodel/README.rdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ behavior out of the box:
242242

243243
The latest version of Active Model can be installed with RubyGems:
244244

245-
% [sudo] gem install activemodel
245+
% gem install activemodel
246246

247247
Source code can be downloaded as part of the Rails project on GitHub
248248

activerecord/README.rdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ Admit the Database:
188188

189189
The latest version of Active Record can be installed with RubyGems:
190190

191-
% [sudo] gem install activerecord
191+
% gem install activerecord
192192

193193
Source code can be downloaded as part of the Rails project on GitHub:
194194

activesupport/README.rdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ outside of Rails.
1010

1111
The latest version of Active Support can be installed with RubyGems:
1212

13-
% [sudo] gem install activesupport
13+
% gem install activesupport
1414

1515
Source code can be downloaded as part of the Rails project on GitHub:
1616

0 commit comments

Comments
 (0)