lib/riak/client/pump.rb in riak-client-0.9.1 vs lib/riak/client/pump.rb in riak-client-0.9.2
- old
+ new
@@ -9,10 +9,10 @@
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
-require 'riak'
+
begin
require 'fiber'
rescue LoadError
require 'riak/util/fiber1.8'
end