1
0
Fork 0
mirror of https://github.com/rubyjs/therubyracer synced 2023-03-27 23:21:42 -04:00

Merge pull request #240 from gaffneyc/require-common-practice

Make it possible to `require "therubyracer"`.
This commit is contained in:
Charles Lowell 2014-01-03 02:20:42 -08:00
commit 9921ed1665
2 changed files with 2 additions and 1 deletions

View file

@ -29,7 +29,7 @@ then in your Ruby code
require 'v8'
# or if using bundler (as with Rails), add the following to your Gemfile
gem "therubyracer", :require => 'v8'
gem "therubyracer"
evaluate some simple JavaScript

1
lib/therubyracer.rb Normal file
View file

@ -0,0 +1 @@
require "v8"