```ruby
chef_gem 'treetop' do
  action :install
end
```

Install treetop at compile time
user
```ruby
g = chef_gem 'treetop' do
  action :nothing
end

g.run_action :install

Gem.clear_paths
```
assistant