Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Clone this wiki locally
% 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
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.
BioRuby 1.2.1 or older version
In BioRuby 1.2.1 or older version, see Installation before 1.2.1.