How does one view documentation for an installed rubygem?
up vote
0
down vote
favorite
would be nice to have gem viewdocs InstalledGemName, that would launch a browser to view the docs included with that gem.
Is there an easy way? I can't find one by searching the web.
rubygems
add a comment |
up vote
0
down vote
favorite
would be nice to have gem viewdocs InstalledGemName, that would launch a browser to view the docs included with that gem.
Is there an easy way? I can't find one by searching the web.
rubygems
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
would be nice to have gem viewdocs InstalledGemName, that would launch a browser to view the docs included with that gem.
Is there an easy way? I can't find one by searching the web.
rubygems
would be nice to have gem viewdocs InstalledGemName, that would launch a browser to view the docs included with that gem.
Is there an easy way? I can't find one by searching the web.
rubygems
rubygems
asked Nov 2 at 18:29
peterk
2,30732028
2,30732028
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
Good option it's use ri InstalledGemName, you see doc in console(terminal).
gem ri gemname ( Unknown command ri ) ri gemname ( nothing known about .gemname )
– peterk
Nov 10 at 17:31
but doesn't launch browser with "index.html"
– peterk
Nov 10 at 17:33
@peterk You can try next example: ri '.to_s' this command show you all gems which has this implementation.
– Ivan Gurzhiy
Nov 10 at 17:39
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
Good option it's use ri InstalledGemName, you see doc in console(terminal).
gem ri gemname ( Unknown command ri ) ri gemname ( nothing known about .gemname )
– peterk
Nov 10 at 17:31
but doesn't launch browser with "index.html"
– peterk
Nov 10 at 17:33
@peterk You can try next example: ri '.to_s' this command show you all gems which has this implementation.
– Ivan Gurzhiy
Nov 10 at 17:39
add a comment |
up vote
0
down vote
Good option it's use ri InstalledGemName, you see doc in console(terminal).
gem ri gemname ( Unknown command ri ) ri gemname ( nothing known about .gemname )
– peterk
Nov 10 at 17:31
but doesn't launch browser with "index.html"
– peterk
Nov 10 at 17:33
@peterk You can try next example: ri '.to_s' this command show you all gems which has this implementation.
– Ivan Gurzhiy
Nov 10 at 17:39
add a comment |
up vote
0
down vote
up vote
0
down vote
Good option it's use ri InstalledGemName, you see doc in console(terminal).
Good option it's use ri InstalledGemName, you see doc in console(terminal).
answered Nov 9 at 12:13
Ivan Gurzhiy
12215
12215
gem ri gemname ( Unknown command ri ) ri gemname ( nothing known about .gemname )
– peterk
Nov 10 at 17:31
but doesn't launch browser with "index.html"
– peterk
Nov 10 at 17:33
@peterk You can try next example: ri '.to_s' this command show you all gems which has this implementation.
– Ivan Gurzhiy
Nov 10 at 17:39
add a comment |
gem ri gemname ( Unknown command ri ) ri gemname ( nothing known about .gemname )
– peterk
Nov 10 at 17:31
but doesn't launch browser with "index.html"
– peterk
Nov 10 at 17:33
@peterk You can try next example: ri '.to_s' this command show you all gems which has this implementation.
– Ivan Gurzhiy
Nov 10 at 17:39
gem ri gemname ( Unknown command ri ) ri gemname ( nothing known about .gemname )
– peterk
Nov 10 at 17:31
gem ri gemname ( Unknown command ri ) ri gemname ( nothing known about .gemname )
– peterk
Nov 10 at 17:31
but doesn't launch browser with "index.html"
– peterk
Nov 10 at 17:33
but doesn't launch browser with "index.html"
– peterk
Nov 10 at 17:33
@peterk You can try next example: ri '.to_s' this command show you all gems which has this implementation.
– Ivan Gurzhiy
Nov 10 at 17:39
@peterk You can try next example: ri '.to_s' this command show you all gems which has this implementation.
– Ivan Gurzhiy
Nov 10 at 17:39
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53124036%2fhow-does-one-view-documentation-for-an-installed-rubygem%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown