Skip to content

Instantly share code, notes, and snippets.

@aurelian
Created October 28, 2009 20:25
Show Gist options
  • Select an option

  • Save aurelian/220799 to your computer and use it in GitHub Desktop.

Select an option

Save aurelian/220799 to your computer and use it in GitHub Desktop.
oryol /tmp/rs $ script/console
Loading development environment (Rails 2.3.4)
Missing these required gems:
ruby-stemmer = 0.6.2
You're running:
ruby 1.8.7.174 at /Users/aurelian/.rvm/ruby-1.8.7-p174/bin/ruby
rubygems 1.3.5 at /Users/aurelian/.rvm/gems/ruby/1.8.7
Run `rake gems:install` to install the missing gems.
oryol /tmp/rs $ rake gems:install
(in /private/tmp/rs)
gem install ruby-stemmer --version "= 0.6.2" --source http://gemcutter.org
Building native extensions. This could take a while...
Successfully installed ruby-stemmer-0.6.2
1 gem installed
Installing ri documentation for ruby-stemmer-0.6.2...
Installing RDoc documentation for ruby-stemmer-0.6.2...
oryol /tmp/rs $ script/console
Loading development environment (Rails 2.3.4)
sruby-1.8.7-p174 > s= Lingua::Stemmer.new
=> #<Lingua::Stemmer:0x1025045f8>
ruby-1.8.7-p174 > s.stem "foo"
=> "foo"
ruby-1.8.7-p174 > quit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment