-
Notifications
You must be signed in to change notification settings - Fork 0
Installation
If your system supports the RubyGems package manager (User guide), just type
% sudo gem install bio
to install or
% sudo gem update bio
to update the BioRuby library (See also an example session in BioRubyOnRails).
In these cases, please make sure that your script also requires 'rubygems' library.
#!/usr/bin/env ruby
require'rubygems'
require 'bio'
If you need to install BioRuby from the source code distribution, obtain the latest package from the archive.
In the bioruby source directory (such as bioruby-x.x.x/), run setup.rb as follows:
% su
# ruby setup.rb
Mac OS X 10.5 (Leopard) comes with RubyGems (and Ruby on Rails), so it is recommended to use them.
If you need to install from the source code distribution, use the following commands in the source code directory. See instructions in the Linux section above to obtain the source code distribution.
% sudo ruby setup.rb
Using the gem package is recommended.
In BioRuby 1.2.1 or older version, see Installation before 1.2.1.