meh` changed the topic of #opal to: http://opalrb.org - Ruby runtime and library on top of Javascript | 1.0.0 is near | This channel is logged at https://botbot.me/freenode/opal/
cpup has quit [Read error: Connection reset by peer]
cpup has joined #opal
e_dub has joined #opal
supman2 has joined #opal
cantonic has quit [Ping timeout: 244 seconds]
supman2 has quit [Ping timeout: 246 seconds]
j_mcnally has quit [Ping timeout: 258 seconds]
cantonic has joined #opal
godd2 has quit [Ping timeout: 245 seconds]
cantonic has quit [Quit: cantonic]
StephenA1 has joined #opal
StephenA1 has quit [Quit: StephenA1]
StephenA1 has joined #opal
StephenA1 has quit [Quit: StephenA1]
meh` has quit [Ping timeout: 264 seconds]
f-3r has quit [Remote host closed the connection]
StephenA1 has joined #opal
StephenA1 has quit [Client Quit]
meh` has joined #opal
frekk has joined #opal
<frekk> did I miss the opal party?
godd2 has joined #opal
meh` has quit [Ping timeout: 264 seconds]
elia has joined #opal
elia has quit [Ping timeout: 258 seconds]
frekk has quit [Remote host closed the connection]
frekk has joined #opal
elia has joined #opal
elia has quit [Quit: (IRC Client: textualapp.com)]
elia has joined #opal
elia has quit [Quit: Computer has gone to sleep.]
meh` has joined #opal
Gonerto has joined #opal
meh` has quit [Ping timeout: 244 seconds]
f-3r has joined #opal
f-3r has quit [Changing host]
f-3r has joined #opal
e_dub has quit [Quit: e_dub]
e_dub has joined #opal
e_dub has quit [Quit: e_dub]
e_dub has joined #opal
e_dub has quit [Quit: e_dub]
e_dub has joined #opal
f-3r has quit [Ping timeout: 265 seconds]
e_dub has quit [Quit: e_dub]
<godd2> I'm having trouble setting up opal-rspec. I have phantomjs installed, and I set up my rakefile, but it won't let me require a file from my lib directory, it says it couldn't find the file. Do I need to append the lib directory in the Rakefile somehow?
fkchang has joined #opal
<fkchang> godd2: u need to append_path it
<fkchang> Opal::RSpec::RakeTask.new("spec:opal") do |s|
<fkchang> s.append_path "your_path"
<fkchang> end
<godd2> fkchang awesome, thank you!
<godd2> On the opal-jquery repo, it says to require 'jquery' https://github.com/opal/opal-jquery
<godd2> is this referring to the jquery gem?
<fkchang> require 'jquery' in your opal code is needed to get access to opal-jquery. If u are using backend ruby, it can kind of get confusing where you are requirement the gem, and where you are just requiring the file to get access to what's in it
<godd2> I keep getting Error: jQuery must be included before opal-jquery when I do bundle exec rake
<godd2> You want me to gist a couple files?
<fkchang> IIRC, that's coz you need to include the actual js jquery before you can require opal-jquery which depends on it
<fkchang> you could include it in the index.html you are using, if you are using one
Gonerto has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<godd2> fkchang I'm just trying to run opal-rspec. Under the phantomjs section, it doesn't mention anything about an html file: https://github.com/opal/opal-rspec
e_dub has joined #opal
<godd2> and here's the output of bundle exec rake: https://gist.github.com/nicklink483/5c1c8d25aa8df377ffc6
<godd2> Note that I'm using all non-beta releases of opal, opal-jquery, and opal-rspec. If I update to the most recent betas, I get several warnings that say "Cannot handle dynamic require"
meh` has joined #opal
<godd2> Okay I got it working. Thanks for the help fkchang :)
f-3r has joined #opal
e_dub has quit [Quit: e_dub]
e_dub has joined #opal
lectrick is now known as pmarreck
<fkchang> godd2: so what was the snag w/jQuery?
<godd2> it was a couple things. I didn't have a jquery.js file anywhere, and I also needed require 'jquery' in my spec_helper
f-3r has quit [Ping timeout: 265 seconds]
frekk has quit [Quit: Leaving]
f-3r has joined #opal
e_dub has quit [Quit: e_dub]
f-3r has quit [Ping timeout: 256 seconds]