Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
BethFrank committed Apr 17, 2014
1 parent 9b212c2 commit 1e8083c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tasks/tw.rake
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
namespace :tw do

desc 'Sets $user_id via "user_id=1" option. checks to see it exists.'
task :user_id => [:environement] do
task :user_id => [:environment] do
raise "You must specify a user_id like 'user_id=2'" unless ENV["user_id"]
raise "User #{ENV['user_id']} doesn't exist." if !User.find(ENV["user_id"])
$user_id = ENV["user_id"].to_i
Expand Down

0 comments on commit 1e8083c

Please sign in to comment.